nuttx/boards/arm/sama5
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
..
giant-board Update kconfig2html.c 2023-12-14 20:02:52 -08:00
jupiter-nano sched: move etc romfs mount from nsh to sched/init 2024-01-09 21:29:46 -03:00
sama5d2-xult
sama5d3-xplained drivers/usbhost: Add a USB bluetooth driver. 2024-01-16 16:02:15 +01:00
sama5d3x-ek
sama5d4-ek sched: move etc romfs mount from nsh to sched/init 2024-01-09 21:29:46 -03:00