![]() |
S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
|
| uint32_t sd_ble_gap_whitelist_set | ( | ble_gap_addr_t const *const * | pp_wl_addrs, |
| uint8_t | len ) |
#include <ble_gap.h>
Set the active whitelist in the SoftDevice.
| Whitelist Sharing |
| Scan Private Devices |
| [in] | pp_wl_addrs | Pointer to a whitelist of peer addresses, if NULL the whitelist will be cleared. |
| [in] | len | Length of the whitelist, maximum BLE_GAP_WHITELIST_ADDR_MAX_COUNT. |
| NRF_SUCCESS | The whitelist is successfully set/cleared. |
| NRF_ERROR_INVALID_ADDR | The whitelist (or one of its entries) provided is invalid. |
| BLE_ERROR_GAP_WHITELIST_IN_USE | The whitelist is in use by a BLE role and cannot be set or cleared. |
| BLE_ERROR_GAP_INVALID_BLE_ADDR | Invalid address type is supplied. |
| NRF_ERROR_DATA_SIZE | The given whitelist size is invalid (zero or too large); this can only return when pp_wl_addrs is not NULL. |