BLE_DM_SetResolvingList
C
uint16_t BLE_DM_SetResolvingList(uint8_t devCnt, uint8_t const *p_devId, uint8_t const * p_privacyMode);
Description
Sets the resolving list.
Parameters
Parameter | Description |
---|---|
[in] devCnt | The number of devices to add to the resolving list. Must be less than or equal to BLE_DM_MAX_RESOLVING_LIST_NUM. Pass zero to clear the list. |
[in] p_devId | Pointer to the list of device IDs to add. Pass NULL to clear the list. |
[in] p_privacyMode | Pointer to the list of privacy modes corresponding to each device ID. Pass NULL to clear the list. Refer Privacy mode for possibile values. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Resolving list set or cleared successfully. |
MBA_RES_INVALID_PARA | The devCnt exceeds BLE_DM_MAX_RESOLVING_LIST_NUM. |