Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

Bluetooth data. More...

#include <bluetooth.h>

Data Fields

uint8_t type
 Type of scan response data or advertisement data.
 
uint8_t data_len
 Length of scan response data or advertisement data.
 
const uint8_tdata
 Pointer to Scan response or advertisement data.
 

Detailed Description

Bluetooth data.

Description of different AD Types that can be encoded into advertising data. Used to form arrays that are passed to the bt_le_adv_start function. The BT_DATA define can be used as a helpter to declare the elements of an bt_data array.

Field Documentation

◆ data

const uint8_t* bt_data::data

Pointer to Scan response or advertisement data.

◆ data_len

uint8_t bt_data::data_len

Length of scan response data or advertisement data.

◆ type

uint8_t bt_data::type

Type of scan response data or advertisement data.


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