summaryrefslogtreecommitdiff
path: root/src/class/net
AgeCommit message (Collapse)Author
2025-11-03fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is ↵hathach
not defined
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-14improve cmake warning flags, fix various warnings in exampleshathach
2025-06-08Fix ECM compileHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-29Add link state control support for ECM modeAndrew Leech
Extends the link state control feature to CDC-ECM mode. RNDIS mode prints state changes but doesn't send notifications to the host yet (would require RNDIS_INDICATE_STATUS_MSG). For ECM: - Tracks link state and sends proper CDC notifications - Handles notification endpoint busy conditions - Only sends connection notification when link is actually up 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
2025-05-29Add USB NCM link state control supportAndrew Leech
This adds the ability to dynamically control the network link state for NCM devices. The host OS will see the network interface as connected/disconnected based on the link state. New API: - tud_network_link_state(rhport, is_up): Set link up/down state Example updates: - Added button control to toggle link state - Fixed LWIP integration to properly handle link state changes - Added printf to show correct protocol (NCM vs RNDIS/ECM) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
2025-01-15fix(ncm): Return invalid NTBs to free listTomas Rezucha
In case we received invalid datagram, we silently fail a the buffer was not returned to empty list -> it was lost. If this happened more than CFG_TUD_NCM_OUT_NTB_N times, we run out of NTBs and all OUT transfers are NACKed. Closes https://github.com/espressif/esp-usb/issues/107
2025-01-14fix(ncm): Use IN buffer for transmit checksTomas Rezucha
2024-11-27Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)Ha Thach
* change TUD_EPBUF_TYPE_DEF order * add and fix -Wmissing-prototypes warnings for cmake (skip make)
2024-11-22fix ncm incorrect length for notify connectionhathach
2024-11-22add TUD_EPBUF_DEF for ecm rndis, also separate notify and control buffer, ↵hathach
use edpt_claim() to prevent race condition
2024-11-22update epnotif endpoint for ncm_device.chathach
2024-11-22TUD_EPBUF_TYPE_DEF ncm_devicehathach
2024-07-15avoid recursions in tud_network_recv_renew()Hardy Griech
2024-06-14minor updatehathach
2024-06-14minor updatehathach
2024-05-10More ci tweak (#2636)Ha Thach
* change concurrency group to ${{ github.workflow }}-${{ github.ref }} * use argparse for build.py hil_test.py, remove the need to install click * move ci win/mac to build_cmake.yml * rename build_family.yml to build_util.yml * build_util.yml support esp32 * integrate build-espressif into build.yml * build.py support make with --board option * add get_deps action * update hil test to reuse action
2024-05-07Merge branch 'master' into remove-tud_network_link_state_cbHiFiPhile
2024-05-07Reformat NCM class.HiFiPhile
2024-05-05mostly commentsHardy Griech
2024-05-05minor changes due to CR with HiFiPhileHardy Griech
2024-04-28Stall unsupported class request.HiFiPhile
2024-04-28Merge remote-tracking branch 'upstream/master' into pr/2227HiFiPhile
2024-04-08add class driver deinithathach
2023-09-08minor changes to comments and debug outputHardy Griech
2023-08-31removed debug commentHardy Griech
2023-08-31code review: changed to TinyUSB log systemHardy Griech
2023-08-20defined(ECLIPSE_GUI)Hardy Griech
2023-08-20bug fix recv/xmit_get_next_ready_ntb()Hardy Griech
2023-08-20CopyrightHardy Griech
2023-08-20moved some declarationsHardy Griech
2023-08-20files taken from yapicoprobeHardy Griech
2023-08-11removed obsolete tud_network_link_state_cb()Hardy Griech
2023-08-02default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to ↵hathach
selectively disable usbd/usbh or driver log
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-03-22Update net_device.hMatt Mills
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2022-12-27fix ncm warninghathach
2022-12-04Fix typosBastien Nocera
2022-06-27suppress error with net examplehathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2021-10-11add ncm.h for magic numberhathach
mostly clean up magic number
2021-10-05rename CFG_TUD_NET to CFG_TUD_ECM_RNDIShathach
2021-09-25add NCM driver in a compatible manner : hathach/tinyusb#550Peter Lawrence
2021-05-27update dochathach
2021-05-27include clean uphathach