walnux/include/nuttx/usb
Lwazi Dube 1349dcfc1f drivers/usbhost: Add a USB bluetooth driver.
This change adds support for the USB Transport Layer as described
in the bluetooth spec. Isochronous endpoints are not yet supported.
Because of limitations in the NuttX bluetooth stack, only one USB
device can be used. This driver will only allow one USB dongle to
use bluetooth.

A Laird USB BT4.2 dongle (from Mouser) was used for testing:
M/N BT851 1.0 1829, FCC ID:SQGBT850
lsusb: 04b4:f901 Cypress Semiconductor Corp. CYW20704A2

The following commands were used to test from the nsh prompt:
bt bnep0 scan start
bt bnep0 scan stop
bt bnep0 scan get
bt bnep0 info

The Linux gatttool was used to connect over wireless.

With the BDAddr found by "bt bnep0 info", start gatttool using:
gatttool -b BDAddr -I

Connect to the device using:
connect

Read the device name using the GAP device name UUID:
char-read-uuid 2a00

Part of the response is:
value: 41 70 61 63 68 65 20 4e 75 74 74 58
which is the string "Apache NuttX"
2024-01-16 16:02:15 +01:00
..
adb.h usbadb: add usbadb boardctl 2023-08-07 11:23:36 +08:00
audio.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
cdc.h Fix issues reported on PR #1233 2020-06-15 07:13:21 -06:00
cdcacm.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
cdcecm.h Indent the include statement by two spaces 2023-05-16 12:34:32 -03:00
composite.h usbdev: Split usbdev descriptor information 2023-09-06 02:29:32 +08:00
dfu.h include: update licenses to Apache 2021-05-27 08:07:25 +09:00
ehci.h Fixed non-UTF8 characters. 2022-09-28 09:38:55 +08:00
fusb301.h include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
fusb302.h Correct inconsistencies 2023-02-18 11:03:38 +08:00
fusb303.h include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
hid.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
hid_parser.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
hub.h include: update licenses to Apache 2021-05-27 08:07:25 +09:00
max3421e.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
mtp.h usbdev/mtp: support mtp class driver 2023-09-16 14:40:08 +08:00
ohci.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
pl2303.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
rndis.h rndis: move private definitions from a public header to the source file 2023-03-31 08:17:01 +09:00
storage.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
usb.h Fix error: format specifies type 'unsigned short' but the argument has type 'int' 2022-11-01 17:12:42 +01:00
usbdev.h usbdev: Add callback for CONFIG_USBDEV_SOFINTERRUPT 2023-12-08 21:27:36 -03:00
usbdev_trace.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
usbhost.h drivers/usbhost: Add a USB bluetooth driver. 2024-01-16 16:02:15 +01:00
usbhost_devaddr.h usbhost: Fix function address generation for multi-port root hubs. 2023-05-11 09:44:18 +02:00
usbhost_trace.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
usbmonitor.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
usbmsc.h include/nuttx/usb/usbmsc.h: fix compiler error when USBMSC_COMPOSITE=y 2023-03-24 17:23:24 +02:00