![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_adv_allow_list_reply | ( | struct ble_adv * | ble_adv, |
| const ble_gap_addr_t * | gap_addrs, | ||
| uint32_t | addr_cnt, | ||
| const ble_gap_irk_t * | gap_irks, | ||
| uint32_t | irk_cnt ) |
#include <ble_adv.h>
Set an allow list for fast and slow advertising.
The allow list must be set by the application upon receiving BLE_ADV_EVT_ALLOW_LIST_REQUEST Without the allow list, the allow list advertising for fast and slow modes will not be run.
| [in] | ble_adv | Advertising Module instance. |
| [in] | gap_addrs | The list of GAP addresses. |
| [in] | addr_cnt | The number of GAP addresses. |
| [in] | gap_irks | The list of peer IRKs. |
| [in] | irk_cnt | The number of peer IRKs. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_INVALID_STATE | Unexpected allow list reply. No ongoing request for allow list. |
| NRF_ERROR_NULL | ble_adv is NULL. |