summaryrefslogtreecommitdiff
path: root/src/class/bth/bth_device.c
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions - These are called by class drivers to queue USB transfers - Updated all callers to pass false by default (non-ISR context) - Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context) - All 21 unit tests pass Co-authored-by: HiFiPhile <[email protected]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-22apply TUD_EPBUF_DEF for device: bth, dfu, hid, mschathach
2024-11-21- move freertos_hooks to board.chathach
- add device/midi_test_freertos example - update bth/dfu/midi device for cache line size
2024-08-30Bluetooth Device: Issue ZLP on ACL IN ep when transfer is multiple of ↵Donatien Garnier
endpoint max packet size
2024-04-08add class driver deinithathach
2023-11-24rename to CFG_TUD_BTH_HISTORICAL_COMPATIBLE, move CFG_TUD_BTH_ISO_ALT_COUNT ↵hathach
to tusb_option.h and mandatory for BTH driver
2023-11-07Add historical EP compatibility to bth classAntonio Vázquez Blanco
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
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-11-05bth: Update driver to interface association changesJerzy Kasenberg
Two interfaces that are required by Bluetooth Primary Controller do not have IAD according to Bluetooth specification. Those two interfaces were opened separately in process_set_config(). Later interface association was inferred for BTH (along with other drivers), since then only one call to open() is place for BTH driver that should prepare both interfaces at once. To make it work again btd_open() parses two interfaces at once.
2021-10-24remove ep descriptor wMaxPacketSize bitfield due to endian issuehathach
2021-09-13Add size check to tud_bt_hci_cmd_cb call in bth_device.cszymonh
2021-09-12Prevent buffer overflow in bth_device.cszymonh
2021-05-27include clean uphathach
2020-11-23have tusb_init() return true instead of TUSB_ERROR_NONEhathach
2020-11-20clean uphathach
2020-11-20migrate bth device to new control xfer cbhathach
2020-08-11use usbd_edpt_open in bth driverhathach
2020-05-28Add bt hci device classJerzy Kasenberg
Code implements USB transport for bluetooth HCI.