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

◆ unicast_server_adv_populate()

int unicast_server_adv_populate ( struct bt_data * adv_buf,
uint8_t adv_buf_vacant )

#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/unicast_server.h>

Put the advertising data from this module into the buffer.

Note
This partial data is used to build a complete extended advertising packet.
Parameters
[out]adv_bufBuffer being populated with ext adv elements.
[in]adv_buf_vacantNumber of vacant elements in adv_buf.
Returns
Negative values for errors or number of elements added to adv_buf.