Zephyr API Documentation 4.5.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Common Bluetooth HCI driver data. More...

#include <zephyr/drivers/bluetooth.h>

Data Fields

bt_hci_recv_t recv
 Callback for the driver to deliver data received from the controller to the host.
bt_addr_t public_addr
 Public identity address to configure in the controller.

Detailed Description

Common Bluetooth HCI driver data.

This structure is common to all Bluetooth HCI drivers and must be the first member in the driver's data struct.

Field Documentation

◆ public_addr

bt_addr_t bt_hci_driver_data::public_addr

Public identity address to configure in the controller.

BT_ADDR_ANY when there is none, which is what zero-initialized driver data starts out with, and not BT_ADDR_NONE (see bt_hci_get_public_addr()).

Set with bt_hci_set_public_addr(), read with bt_hci_get_public_addr().

Attention
Available only when the following Kconfig option is enabled: CONFIG_BT_HCI_SET_PUBLIC_ADDR.

◆ recv

bt_hci_recv_t bt_hci_driver_data::recv

Callback for the driver to deliver data received from the controller to the host.


The documentation for this struct was generated from the following file: