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

ParameterDescription
[in] devCntThe 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_devIdPointer to the list of device IDs to add. Pass NULL to clear the list.
[in] p_privacyModePointer 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 valueDescription
MBA_RES_SUCCESSResolving list set or cleared successfully.
MBA_RES_INVALID_PARAThe devCnt exceeds BLE_DM_MAX_RESOLVING_LIST_NUM.