nRF Connect SDK API 0.1.0
|
int bt_le_adv_prov_get_ad | ( | struct bt_data * | ad, |
size_t * | ad_len, | ||
const struct bt_le_adv_prov_adv_state * | state, | ||
struct bt_le_adv_prov_feedback * | fb | ||
) |
#include <include/bluetooth/adv_prov.h>
Fill advertising data.
Number of elements in array pointed by ad must be at least equal to bt_le_adv_prov_get_ad_prov_cnt.
[out] | ad | Pointer to array to be filled with advertising data. |
[in,out] | ad_len | Value describing number of elements in the array pointed by ad. The value is then set by the function to number of filled elements. |
[in] | state | Structure describing advertising state. |
[out] | fb | Structure filled with feedback from advertising data providers. |