summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2025-06-26audio_device: Fix data IN endpoints with implicit feedbackmilek7
2025-06-12Merge pull request #3137 from HiFiPhile/uac_simplifyHa Thach
uac2: remove support fifo
2025-06-08Fix ECM compileHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-29uac2: remove support fifoHiFiPhile
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-05-16follow up to pr3118, interface also end with IAD. Add more checkshathach
2025-05-16Merge pull request #3118 from ZakDanger/vendor_device_fixHiFiPhile
vendor device open fix for descriptor parsing
2025-05-13fix warnings, minor clean uphathach
2025-05-09simplify vendord_open parsing loopHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-09revert 'end fix'ZakDanger
2025-05-09revert 'end fix'ZakDanger
2025-05-09vendor device open fix for descriptor parsingZakDanger
2025-04-17fix iar make build with wb and u5hathach
2025-03-27Merge pull request #3043 from hathach/hcd-close-epHa Thach
feat(host) add endpoint close API and feat(HIL) improvement
2025-03-24device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_thathach
add tx_overwritabe_if_not_connected for cdc driver configure
2025-03-21Fix #3033: address review commentrppicomidi
2025-03-21Move misplaced statementrppicomidi
2025-03-20Fix #3033: Increase array bounds and test for overflowrppicomidi
2025-03-19Move iInterface per review commentrppicomidi
2025-03-18Fix compiler conversion error warningrppicomidi
2025-03-18fix tuh_midi_itf_get_info() desc->iInterface valuerppicomidi
2025-03-17Fix 3031: implement tuh_midi_itf_get_info()rppicomidi
2025-03-15Add ctrl buffer alignment.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-03-13Only clear stream_read & stream_write if they are definedrppicomidi
2025-03-10fix desc_end in vendord_open()Cynventria[CitRA]
minor fix on calculation of desc_end in vendord_open( ) for descriptor prasing
2025-03-06hack: force/overwrite endpoint mps to 64 for device that incorrectly report ↵hathach
512 bytes for bulk in fullspeed mode.
2025-03-06midi host: skip rx data with all zeroeshathach
2025-02-24add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()hathach
change tuh_midi_rx/tx_cb() to have xferred_bytes rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count() use default empty callback instead of weak null to be compatible with keil compiler
2025-02-24add desc_audio_control to midi descriptor callbackhathach
2025-02-24change API to take index instead of dev address, this allow to support more ↵hathach
than 1 midi per device.
2025-02-24add tuh_midi_descriptor_cb()hathach
2025-02-21remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for application ↵hathach
to parse/extract this information if needed rename tuh_midi_configure() to mounted() for consistency
2025-02-14- rename tuh_midi_stream_flush() to tuh_midi_write_flush()hathach
- add tuh_midi_packet_read_n() and tuh_midi_packet_write_n() - add CFG_TUH_MIDI_STREAM_API to opt out stream API
2025-02-14- change signature of tuh_midi_mount/umount_cb()hathach
- rename midi_stream_t to midi_driver_stream_t and move to midi.h (common for device and host)
2025-02-14- remove tuh_midi_read_poll(), auto schedule EP in when set_config() and ↵hathach
xfer_cb as well as ep read() - de-dup tuh_midi_get_num_rx/tx_cables - add tuh_midi_read_available()
2025-02-13update midi host to use endpoint stream APIhathach
2025-02-12- use CFG_TUH_MIDI as number of midi host instancehathach
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12fix host midi buildhathach
2025-02-12pre-commit fixhathach
2025-02-12clean uphathach
2025-02-12Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # hw/bsp/rp2040/family.cmake # src/class/midi/midi.h # src/class/midi/midi_device.c # src/device/usbd_control.c # src/host/hcd.h # src/host/usbh.c # src/host/usbh.h
2025-02-10Merge pull request #2982 from hathach/fix-stringop-overread-warningHa Thach
fix stringop-overread warning for msc device with memmove
2025-02-07add full hid usage for Digitizer Page (0x0D), move thing around a bit.hathach
2025-02-07Merge branch 'refs/heads/master' into fork/jay94ks/styluspenhathach
2025-02-07fix stringop-overread warning for msc device with memmovehathach
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-15Merge pull request #2947 from espressif/fix/ncm_buffer_checksHiFiPhile
fix(ncm): Use IN buffer for transmit checks
2025-01-15src/class/hid/hid_host.c: fix logging calls for epbufDan Halbert
2025-01-14fix(ncm): Use IN buffer for transmit checksTomas Rezucha