Home
last modified time | relevance | path

Searched refs:bt_has (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/
Dhas.h45 struct bt_has;
118 void (*discover)(struct bt_conn *conn, int err, struct bt_has *has,
134 void (*preset_switch)(struct bt_has *has, int err, uint8_t index);
148 void (*preset_read_rsp)(struct bt_has *has, int err,
163 void (*preset_update)(struct bt_has *has, uint8_t index_prev,
175 void (*preset_deleted)(struct bt_has *has, uint8_t index, bool is_last);
188 void (*preset_availability)(struct bt_has *has, uint8_t index, bool available,
224 int bt_has_client_conn_get(const struct bt_has *has, struct bt_conn **conn);
239 int bt_has_client_presets_read(struct bt_has *has, uint8_t index, uint8_t max_count);
253 int bt_has_client_preset_set(struct bt_has *has, uint8_t index, bool sync);
[all …]
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dhas_client_test.c25 static struct bt_has *g_has;
28 static void discover_cb(struct bt_conn *conn, int err, struct bt_has *has, in discover_cb()
42 static void preset_switch_cb(struct bt_has *has, int err, uint8_t index) in preset_switch_cb()
64 static void preset_read_rsp_cb(struct bt_has *has, int err, in preset_read_rsp_cb()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dhas_client.c20 static struct bt_has *inst;
22 static void has_client_discover_cb(struct bt_conn *conn, int err, struct bt_has *has, in has_client_discover_cb()
37 static void has_client_preset_switch_cb(struct bt_has *has, int err, uint8_t index) in has_client_preset_switch_cb()
46 static void has_client_preset_read_rsp_cb(struct bt_has *has, int err, in has_client_preset_read_rsp_cb()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dhas_internal.h49 struct bt_has { struct
Dhas_client.c34 struct bt_has has;
901 int bt_has_client_conn_get(const struct bt_has *has, struct bt_conn **conn) in bt_has_client_conn_get()
910 int bt_has_client_presets_read(struct bt_has *has, uint8_t start_index, uint8_t count) in bt_has_client_presets_read()
942 int bt_has_client_preset_set(struct bt_has *has, uint8_t index, bool sync) in bt_has_client_preset_set()
971 int bt_has_client_preset_next(struct bt_has *has, bool sync) in bt_has_client_preset_next()
996 int bt_has_client_preset_prev(struct bt_has *has, bool sync) in bt_has_client_preset_prev()
Dhas.c27 LOG_MODULE_REGISTER(bt_has, CONFIG_BT_HAS_LOG_LEVEL);
43 static struct bt_has has;