Zephyr API 3.6.99
Loading...
Searching...
No Matches
hci_raw.h File Reference

Bluetooth HCI RAW channel handling. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  bt_hci_raw_cmd_ext
 

Macros

#define BT_HCI_ERR_EXT_HANDLED   0xff
 
#define BT_HCI_RAW_CMD_EXT(_op, _min_len, _func)
 Helper macro to define a command extension.
 

Enumerations

enum  { BT_HCI_RAW_MODE_PASSTHROUGH = 0x00 , BT_HCI_RAW_MODE_H4 = 0x01 }
 

Functions

int bt_send (struct net_buf *buf)
 Send packet to the Bluetooth controller.
 
int bt_hci_raw_set_mode (uint8_t mode)
 Set Bluetooth RAW channel mode.
 
uint8_t bt_hci_raw_get_mode (void)
 Get Bluetooth RAW channel mode.
 
void bt_hci_raw_cmd_ext_register (struct bt_hci_raw_cmd_ext *cmds, size_t size)
 Register Bluetooth RAW command extension table.
 
int bt_enable_raw (struct k_fifo *rx_queue)
 Enable Bluetooth RAW channel:
 

Detailed Description

Bluetooth HCI RAW channel handling.