Advertising event propogated to the main application. The event is either a transaction to a new advertising mode, or a request for whitelist or peer address.
uint8_t ble_advertising_t::adv_handle |
Handle for the advertising set.
Variable to keep track of the current advertising mode.
Struct to keep track of disabled and enabled advertising modes, as well as time-outs and intervals.
GAP advertising parameters.
bool ble_advertising_t::advertising_start_pending |
Flag to keep track of ongoing operations in flash.
uint8_t ble_advertising_t::conn_cfg_tag |
Variable to keep track of what connection settings will be used if the advertising results in a connection.
uint16_t ble_advertising_t::current_slave_link_conn_handle |
Connection handle for the active link.
Current advertising data in encoded form.
Current scan response data in encoded form.
Handler for the advertising error events.
Handler for the advertising events. Can be initialized as NULL if no handling is implemented on in the main application.
bool ble_advertising_t::peer_addr_reply_expected |
Flag to verify that peer address is only set when requested.
Address of the most recently connected peer, used for direct advertising.
bool ble_advertising_t::whitelist_in_use |
This module needs to be aware of whether or not a whitelist has been set (e.g. using the Peer Manager) in order to start advertising with the proper advertising params (filter policy).
bool ble_advertising_t::whitelist_reply_expected |
Flag to verify that the whitelist is only set when requested.
bool ble_advertising_t::whitelist_temporarily_disabled |
Flag to keep track of temporary disabling of the whitelist.
The documentation for this struct was generated from the following file:
- components/ble/ble_advertising/ble_advertising.h