![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mgmt_adv_buffer_put | ( | struct bt_data *const | adv_buf, |
| uint32_t * | index, | ||
| size_t | adv_buf_vacant, | ||
| size_t | data_len, | ||
| uint8_t | type, | ||
| void * | data ) |
#include <applications/nrf_audio/src/bluetooth/bt_management/bt_mgmt.h>
Load advertising data into an advertising buffer.
| [out] | adv_buf | Pointer to the advertising buffer to load. |
| [in,out] | index | Next free index in the advertising buffer. |
| [in] | adv_buf_vacant | Number of free advertising buffers. |
| [in] | data_len | Length of the data. |
| [in] | type | Type of the data. |
| [in] | data | Data to store in the buffer, can be a pointer or value. |