1.2.2.2.1.4.12 BLE_DM_SetFilterAcceptList
C
uint16_t BLE_DM_SetFilterAcceptList(uint8_t devCnt, uint8_t const *p_devId);
Description
Set filter accept list.
Parameters
Parameter | Description |
---|---|
[in] devCnt | The 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_devId | The paired device list to add to filter accept list. Pass NULL to clear filter accept list. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set or clear filter accept list. |
MBA_RES_INVALID_PARA | The devCnt is greater than BLE_DM_MAX_FILTER_ACCEPT_LIST_NUM. |