12#include <zephyr/bluetooth/bluetooth.h>
34#define DULT_BT_ADV_PROPRIETARY_DATA_MAX_LEN_WITH_FLAGS (22)
49#define DULT_BT_ADV_PROPRIETARY_DATA_MAX_LEN_NO_FLAGS (25)
86#define DULT_BT_ADV_DATA_INIT(_flags_present, _proprietary_buf, _proprietary_len) \
88 .flags_present = (_flags_present), \
90 .buf = (_proprietary_buf), \
91 .len = (_proprietary_len), \
106#define DULT_BT_ADV_DATA_PROPRIETARY_INIT(_flags_present, _proprietary_buf) \
107 DULT_BT_ADV_DATA_INIT(_flags_present, _proprietary_buf, ARRAY_SIZE(_proprietary_buf))
116#define DULT_BT_ADV_DATA_NO_PROPRIETARY_INIT \
117 DULT_BT_ADV_DATA_INIT(false, NULL, 0)
int dult_bt_anos_cb_register(const struct dult_user *user, const struct dult_bt_anos_cb *cb)
Register DULT Bluetooth ANOS callback structure.
int dult_bt_adv_data_fill(const struct dult_user *user, struct bt_data *bt_adv_data, uint8_t *buf, size_t buf_size, const struct dult_bt_adv_data *adv_data)
Encode the DULT location-enabled Bluetooth advertising payload.
struct dult_bt_adv_data::@066307214333127017277253147114163103275240165026 proprietary
uint8_t * buf
Definition bt.h:65
size_t len
Definition bt.h:73
bool flags_present
Definition bt.h:60
bool(* access_verify)(struct bt_conn *conn)
Verify whether a connection may access ANOS opcodes.
Definition bt.h:181