1.1.2.2.1.4.13 BLE_DM_SetResolvingList
C
uint16_t BLE_DM_SetResolvingList(uint8_t devCnt, uint8_t const *p_devId, uint8_t const * p_privacyMode);
Description
Set resolving list.
Parameters
Parameter | Description |
---|---|
[in] devCnt | The number of paired device to add to resolving list. The number must be less than or equel to BLE_DM_MAX_RESOLVING_LIST_NUM. Pass zero to clear resolving list. |
[in] p_devId | The paired device list to add to resolving list. Pass NULL to clear resolving list. |
[in] p_privacyMode | The privacy mode list (see Privacy mode). Each entry in the array maps to the entry in p_devId at the same index. Pass NULL to clear resolving list. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set or clear resolving list. |
MBA_RES_INVALID_PARA | The devCnt is greater than BLE_DM_MAX_RESOLVING_LIST_NUM. |