BLE_DM_SetFilterAcceptList
C
uint16_t BLE_DM_SetFilterAcceptList(uint8_t devCnt, uint8_t const *p_devId);Description
Sets the filter accept list.
Parameters
| Parameter | Description |
|---|---|
| [in] devCnt | The number of devices to add to the filter accept list. Must be less than or equal to Maximum filter accept list size. Pass zero to clear the list. |
| [in] p_devId | Pointer to the list of device IDs to add. Pass NULL to clear the list. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Filter accept list set or cleared successfully. |
| MBA_RES_INVALID_PARA | The devCnt exceeds Maximum filter accept list size. |
