2128750138
By this commit user gets possibility to register USB device satutus callback. This callback represents device state and is added so user could know what happend to USB device. Callback is registered by providing it to usb_enable() USB api is extended by this callback handler. Samples using using USB are by default provide no callback and the usb_enable() is called with NULL parameter. Status callback registered by hid class is deleted as now USB device has global callback for all classes within device. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
Kconfig | ||
README.rst | ||
prj.conf | ||
sample.yaml |
README.rst
.. _bluetooth-hci-usb-sample: Bluetooth: HCI USB ################## Overview ******** Make a USB Bluetooth dongle out of Zephyr. Requires USB device support from the board it runs on (e.g. :ref:`nrf52840_pca10056` supports both BLE and USB). Requirements ************ * Bluetooth stack running on the host (e.g. BlueZ) * A board with Bluetooth and USB support in Zephyr Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/hci_usb` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.