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

◆ bt_le_adv_prov_data_get

typedef int(* bt_le_adv_prov_data_get) (struct bt_data *d, const struct bt_le_adv_prov_adv_state *state, struct bt_le_adv_prov_feedback *fb)

#include <include/bluetooth/adv_prov.h>

Callback used to get provider's data.

Parameters
[out]dPointer to structure to be filled with data.
[in]statePointer to structure describing Bluetooth advertising state.
[out]fbPointer to structure describing provider's feedback.
Return values
0If the operation was successful.
(-ENOENT)If provider does not provide data.
Returns
Other negative value denotes error specific to provider.