BLE_DM_SetFilterAcceptList

C

uint16_t BLE_DM_SetFilterAcceptList(uint8_t devCnt, uint8_t const *p_devId);

Description

Sets the filter accept list.

Parameters

ParameterDescription
[in] devCntThe number of devices to add to the filter accept list. Must be less than or equal to BLE_DM_MAX_FILTER_ACCEPT_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.

Return values

Return valueDescription
MBA_RES_SUCCESSFilter accept list set or cleared successfully.
MBA_RES_INVALID_PARAThe devCnt exceeds BLE_DM_MAX_FILTER_ACCEPT_LIST_NUM.