Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
HCI RAW channel . More...
Functions | |
int | bt_send (struct net_buf *buf) |
Send packet to the Bluetooth controller. | |
int | bt_enable_raw (struct k_fifo *rx_queue) |
Enable Bluetooth RAW channel: | |
HCI RAW channel .
int bt_enable_raw | ( | struct k_fifo * | rx_queue | ) |
#include <zephyr/bluetooth/hci_raw.h>
Enable Bluetooth RAW channel:
Enable Bluetooth RAW HCI channel.
rx_queue | netbuf queue where HCI packets received from the Bluetooth controller are to be queued. The queue is defined in the caller while the available buffers pools are handled in the stack. |
int bt_send | ( | struct net_buf * | buf | ) |
#include <zephyr/bluetooth/hci_raw.h>
Send packet to the Bluetooth controller.
Send packet to the Bluetooth controller. The buffers should be allocated using bt_buf_get_tx().
buf | HCI packet to be sent. |