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

ParameterDescription
[in] devCntThe 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_devIdThe paired device list to add to resolving list. Pass NULL to clear resolving list.
[in] p_privacyModeThe 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 valueDescription
MBA_RES_SUCCESSSuccessfully set or clear resolving list.
MBA_RES_INVALID_PARAThe devCnt is greater than BLE_DM_MAX_RESOLVING_LIST_NUM.