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.
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 BLE_GAP_SyncSetDev_T tructures 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. | 
