10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_HCI_RAW_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_HCI_RAW_H_
70#define BT_HCI_ERR_EXT_HANDLED 0xff
78#define BT_HCI_RAW_CMD_EXT(_op, _min_len, _func) \
81 .min_len = _min_len, \
int bt_send(struct net_buf *buf)
Send packet to the Bluetooth controller.
void bt_hci_raw_cmd_ext_register(struct bt_hci_raw_cmd_ext *cmds, size_t size)
Register Bluetooth RAW command extension table.
uint8_t bt_hci_raw_get_mode(void)
Get Bluetooth RAW channel mode.
int bt_enable_raw(struct k_fifo *rx_queue)
Enable Bluetooth RAW channel:
int bt_hci_raw_set_mode(uint8_t mode)
Set Bluetooth RAW channel mode.
@ BT_HCI_RAW_MODE_H4
Definition: hci_raw.h:49
@ BT_HCI_RAW_MODE_PASSTHROUGH
Definition: hci_raw.h:41
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
__UINT16_TYPE__ uint16_t
Definition: stdint.h:59
size_t min_len
Definition: hci_raw.h:90
uint8_t(* func)(struct net_buf *buf)
Definition: hci_raw.h:103
uint16_t op
Definition: hci_raw.h:87
Definition: kernel.h:2153
Network buffer representation.
Definition: buf.h:919
uint16_t size
Definition: buf.h:950