nRF Connect SDK API 2.8.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 ) |
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. |