Advertisement header structure.

Public Attributes#

uint8_t

PDU Type field indicating advertising packet type.

uint8_t

Transmitter address type (0=public, 1=random)

bd_addr

Transmitter Bluetooth device address.

uint8_t

Target address type for directed advertising.

uint8_t

Number of advertisement data fields.

Array of advertisement data fields.

Public Attribute Documentation#

pdu_type#

uint8_t advertisement_header_t::pdu_type

PDU Type field indicating advertising packet type.


tx_addr_type#

uint8_t advertisement_header_t::tx_addr_type

Transmitter address type (0=public, 1=random)


tx_addr#

bd_addr advertisement_header_t::tx_addr

Transmitter Bluetooth device address.


rx_addr_type#

uint8_t advertisement_header_t::rx_addr_type

Target address type for directed advertising.


data_num#

uint8_t advertisement_header_t::data_num

Number of advertisement data fields.


adv_data#

advertisement_data_t advertisement_header_t::adv_data[MAX_ADV_DATA_NUM]

Array of advertisement data fields.