14#include <zephyr/bluetooth/bluetooth.h>
99#define BT_LE_ADV_PROV_AD_PROVIDER_REGISTER(pname, get_data_fn) \
100 STRUCT_SECTION_ITERABLE_ALTERNATE(bt_le_adv_prov_ad, bt_le_adv_prov_provider, pname) = { \
101 .get_data = get_data_fn, \
112#define BT_LE_ADV_PROV_SD_PROVIDER_REGISTER(pname, get_data_fn) \
113 STRUCT_SECTION_ITERABLE_ALTERNATE(bt_le_adv_prov_sd, bt_le_adv_prov_provider, pname) = { \
114 .get_data = get_data_fn, \
size_t bt_le_adv_prov_get_sd_prov_cnt(void)
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)
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)
Definition adv_prov.h:81
size_t bt_le_adv_prov_get_ad_prov_cnt(void)
int bt_le_adv_prov_get_sd(struct bt_data *sd, size_t *sd_len, const struct bt_le_adv_prov_adv_state *state, struct bt_le_adv_prov_feedback *fb)
bool in_grace_period
Definition adv_prov.h:37
uint8_t adv_handle
Definition adv_prov.h:55
bool rpa_rotated
Definition adv_prov.h:43
bool pairing_mode
Definition adv_prov.h:30
bool new_adv_session
Definition adv_prov.h:48
size_t grace_period_s
Definition adv_prov.h:66
bt_le_adv_prov_data_get get_data
Definition adv_prov.h:88