Lines Matching full:has
3 * @brief Bluetooth Hearing Access Service (HAS) shell.
18 #include <zephyr/bluetooth/audio/has.h>
27 static void has_client_discover_cb(struct bt_conn *conn, int err, struct bt_has *has, in has_client_discover_cb() argument
32 shell_error(ctx_shell, "HAS discovery (err %d)", err); in has_client_discover_cb()
36 shell_print(ctx_shell, "HAS discovered %p type 0x%02x caps 0x%02x for conn %p", in has_client_discover_cb()
37 has, type, caps, conn); in has_client_discover_cb()
39 inst = has; in has_client_discover_cb()
42 static void has_client_preset_switch_cb(struct bt_has *has, int err, uint8_t index) in has_client_preset_switch_cb() argument
45 shell_error(ctx_shell, "HAS %p preset switch error (err %d)", has, err); in has_client_preset_switch_cb()
47 shell_print(ctx_shell, "HAS %p preset switch index 0x%02x", has, index); in has_client_preset_switch_cb()
51 static void has_client_preset_read_rsp_cb(struct bt_has *has, int err, in has_client_preset_read_rsp_cb() argument
275 SHELL_CMD_ARG_REGISTER(has_client, &has_client_cmds, "Bluetooth HAS client shell commands",