BLE_DM_SetFilterAcceptList

C

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

Description

Set filter accept list.

Parameters

ParameterDescription
[in] devCntThe number of paired device to add to filter accept list. The number must be less than or equel to BLE_DM_MAX_FILTER_ACCEPT_LIST_NUM. Pass zero to clear filter accept list.
[in] p_devIdThe paired device list to add to filter accept list. Pass NULL to clear filter accept list.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully set or clear filter accept list.
MBA_RES_INVALID_PARAThe devCnt is greater than BLE_DM_MAX_FILTER_ACCEPT_LIST_NUM.