nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ broadcast_source_per_adv_populate()

int broadcast_source_per_adv_populate ( uint8_t big_index,
struct broadcast_source_per_adv_data * per_adv_data,
struct bt_data * per_adv_buf,
size_t per_adv_buf_vacant )

Populate the periodic advertising data buffer.

Parameters
[in]big_indexIndex of the Broadcast Isochronous Group (BIG) to get advertising data for.
[in]per_adv_dataPointer to a structure of periodic advertising buffers.
[out]per_adv_bufPointer to the bt_data used for periodic advertising.
[out]per_adv_buf_vacantPointer to unused size of per_adv_buf.
Returns
Negative values for errors or number of elements added to per_adv_buf.