![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| enum ble_adv_evt_type |
#include <ble_adv.h>
Advertising event types.
| Enumerator | |
|---|---|
| BLE_ADV_EVT_IDLE | Idle; no connectable advertising is ongoing. |
| BLE_ADV_EVT_DIRECTED_HIGH_DUTY | Directed advertising mode (high duty cycle) has started. |
| BLE_ADV_EVT_DIRECTED | Directed advertising has started. |
| BLE_ADV_EVT_FAST | Fast advertising mode has started. |
| BLE_ADV_EVT_SLOW | Slow advertising mode has started. |
| BLE_ADV_EVT_FAST_ALLOW_LIST | Fast advertising mode using the allow list has started. |
| BLE_ADV_EVT_SLOW_ALLOW_LIST | Slow advertising mode using the allow list has started. |
| BLE_ADV_EVT_ALLOW_LIST_REQUEST | Allow list request. When this event is received, the application can reply with an allow list to be used for advertising by calling ble_adv_allow_list_reply. Otherwise, it can ignore the event to let the device advertise without an allow list. |
| BLE_ADV_EVT_PEER_ADDR_REQUEST | Peer address request (for directed advertising). When this event is received, the application can reply with a peer address to be used for directed advertising by calling ble_adv_peer_addr_reply. Otherwise, it can ignore the event to let the device advertise in the next configured advertising mode. |
| BLE_ADV_EVT_ERROR | Error. |