Bluetooth: hci_uart
Overview
This sample application exposes the Bluetooth controller over UART to another device using the HCI transport protocol.
For additional information please see HCI UART.
Requirements
Atmosic EVK <board | serial>
Default UART settings
By default the builds use uart0
with the following settings:
ATM2/ATM3:
Baudrate: 460800 bit/s
Hardware Flow Control (RTS/CTS) enabled
ATM33/ATM34:
Baudrate: 2 Mbit/s
Hardware Flow Control (RTS/CTS) enabled
Building and Running
This sample is built from openair/samples/bluetooth/hci_uart
.
Build Command:
west build -p always -b <BOARD>//ns openair/samples/bluetooth/hci_uart --sysbuild -T samples.bluetooth.hci_uart.atm
Flash command:
west flash --skip-rebuild --device <DEVICE_ID> --jlink --fast_laod [--erase_flash]