BLE_GAP_SetDevToPeriAdvList
C
uint16_t BLE_GAP_SetDevToPeriAdvList(uint8_t num, BLE_GAP_SyncSetDev_T *p_syncSetDev);
Description
Adds one or more devices to the Periodic Advertiser list.
Note
This function sets one or multiple entries in the Periodic Advertiser list, which is used for synchronization with periodic advertising.
Parameters
Parameter | Description |
---|---|
[in] num | Number of devices to be added to the list. Must not exceed Maximum advertiser list size. |
[in] p_syncSetDev | Pointer to an array of BLE_GAP_SyncSetDev_T structures containing the devices to be added. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully adds the devices to the Periodic Advertiser list. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |