Home
last modified time | relevance | path

Searched refs:inst_index (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dtbs_client.c49 unsigned long inst_index; in cmd_tbs_client_set_signal_strength_interval() local
58 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_set_signal_strength_interval()
60 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_set_signal_strength_interval()
69 if (inst_index > UINT8_MAX) { in cmd_tbs_client_set_signal_strength_interval()
71 inst_index); in cmd_tbs_client_set_signal_strength_interval()
77 inst_index = 0; in cmd_tbs_client_set_signal_strength_interval()
94 inst_index, in cmd_tbs_client_set_signal_strength_interval()
108 unsigned long inst_index; in cmd_tbs_client_hold() local
114 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_hold()
116 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_hold()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_ccp.h24 uint8_t inst_index; member
31 uint8_t inst_index; member
38 uint8_t inst_index; member
46 uint8_t inst_index; member
52 uint8_t inst_index; member
58 uint8_t inst_index; member
64 uint8_t inst_index; member
70 uint8_t inst_index; member
76 uint8_t inst_index; member
82 uint8_t inst_index; member
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dtbs.h600 uint8_t inst_index);
613 uint8_t inst_index, uint8_t call_index);
626 uint8_t inst_index,
639 uint8_t inst_index, uint32_t value);
652 int err, uint8_t inst_index,
668 uint8_t inst_index,
684 uint8_t inst_index,
800 int bt_tbs_client_set_outgoing_uri(struct bt_conn *conn, uint8_t inst_index,
816 uint8_t inst_index,
831 int bt_tbs_client_originate_call(struct bt_conn *conn, uint8_t inst_index,
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dtbs_client_test.c100 uint8_t inst_index, uint32_t value) in tbs_client_read_ccid_cb() argument
109 printk("Read CCID %u on index %u\n", value, inst_index); in tbs_client_read_ccid_cb()
121 uint8_t inst_index, in tbs_client_originate_call_cb() argument
129 uint8_t inst_index, in tbs_client_hold_call_cb() argument
137 printk("%s Instance: %u Call index: %u\n", __func__, inst_index, in tbs_client_hold_call_cb()
142 uint8_t inst_index, in tbs_client_retrieve_call_cb() argument
150 printk("%s Instance: %u Call index: %u\n", __func__, inst_index, in tbs_client_retrieve_call_cb()
155 uint8_t inst_index, in tbs_client_technology_cb() argument
163 printk("%s Instance: %u Technology: %u\n", __func__, inst_index, value); in tbs_client_technology_cb()
169 uint8_t inst_index, in tbs_client_signal_strength_cb() argument
[all …]
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dccp_call_ctrl.c49 static void originate_call_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_index) in originate_call_cb() argument
51 if (inst_index != BT_TBS_GTBS_INDEX) { in originate_call_cb()
52 printk("Unexpected %s for instance %u\n", __func__, inst_index); in originate_call_cb()
65 uint8_t inst_index, uint8_t call_index) in terminate_call_cb() argument
67 if (inst_index != BT_TBS_GTBS_INDEX) { in terminate_call_cb()
68 printk("Unexpected %s for instance %u\n", __func__, inst_index); in terminate_call_cb()
80 uint8_t inst_index, const char *value) in read_uri_schemes_string_cb() argument
84 if (inst_index != BT_TBS_GTBS_INDEX) { in read_uri_schemes_string_cb()
85 printk("Unexpected %s for instance %u\n", __func__, inst_index); in read_uri_schemes_string_cb()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dccp_call_ctrl.c97 static void ccid_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint32_t value) in ccid_cb() argument
99 if (inst_index != BT_TBS_GTBS_INDEX) { in ccid_cb()
100 printk("Unexpected %s for instance %u\n", __func__, inst_index); in ccid_cb()
114 static void status_flags_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint32_t value) in status_flags_cb() argument
116 if (inst_index != BT_TBS_GTBS_INDEX) { in status_flags_cb()
117 printk("Unexpected %s for instance %u\n", __func__, inst_index); in status_flags_cb()
131 static void call_state_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_count, in call_state_cb() argument
134 if (inst_index != BT_TBS_GTBS_INDEX) { in call_state_cb()
135 printk("Unexpected %s for instance %u\n", __func__, inst_index); in call_state_cb()
/Zephyr-latest/subsys/bluetooth/audio/
Dtbs_client.c249 static void current_calls_changed(struct bt_conn *conn, int err, uint8_t inst_index, in current_calls_changed() argument
256 listener->current_calls(conn, err, inst_index, call_count, calls); in current_calls_changed()
373 static void provider_name_changed(struct bt_conn *conn, int err, uint8_t inst_index, in provider_name_changed() argument
380 listener->bearer_provider_name(conn, err, inst_index, name); in provider_name_changed()
399 static void technology_changed(struct bt_conn *conn, int err, uint8_t inst_index, in technology_changed() argument
406 listener->technology(conn, err, inst_index, technology); in technology_changed()
429 static void signal_strength_changed(struct bt_conn *conn, int err, uint8_t inst_index, in signal_strength_changed() argument
436 listener->signal_strength(conn, err, inst_index, signal_strength); in signal_strength_changed()
476 static void status_flags_changed(struct bt_conn *conn, int err, uint8_t inst_index, in status_flags_changed() argument
483 listener->status_flags(conn, err, inst_index, status_flags); in status_flags_changed()
[all …]
Dtbs.c102 static uint8_t inst_index(const struct tbs_inst *inst) in inst_index() function
310 LOG_DBG("Index %u: call index 0x%02x, reason %s", inst_index(inst), call_index, in tbs_set_terminate_reason()
541 LOG_DBG("Index %u, Provider name %s", inst_index(inst), inst->provider_name); in read_provider_name()
552 LOG_DBG("Index %u: value 0x%04x", inst_index(inst), value); in provider_name_cfg_changed()
561 LOG_DBG("Index %u: UCI %s", inst_index(inst), inst->uci); in read_uci()
571 LOG_DBG("Index %u: Technology 0x%02x", inst_index(inst), inst->technology); in read_technology()
582 LOG_DBG("Index %u: value 0x%04x", inst_index(inst), value); in technology_cfg_changed()
611 LOG_DBG("Index %u: URI scheme %.*s", inst_index(inst), read_buf.len, read_buf.data); in read_uri_scheme_list()
622 LOG_DBG("Index %u: value 0x%04x", inst_index(inst), value); in uri_scheme_list_cfg_changed()
631 LOG_DBG("Index %u: Signal strength 0x%02x", inst_index(inst), inst->signal_strength); in read_signal_strength()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_ccp.c102 static void tbs_client_chrc_val_ev(struct bt_conn *conn, uint8_t status, uint8_t inst_index, in tbs_client_chrc_val_ev() argument
110 ev.inst_index = inst_index; in tbs_client_chrc_val_ev()
116 static void tbs_client_chrc_str_ev(struct bt_conn *conn, uint8_t status, uint8_t inst_index, in tbs_client_chrc_str_ev() argument
125 ev->inst_index = inst_index; in tbs_client_chrc_str_ev()
181 uint8_t inst_index, in tbs_client_call_states_ev() argument
187 sys_cpu_to_le32(err), inst_index, call_count in tbs_client_call_states_ev()
202 uint8_t inst_index, in tbs_client_call_states_cb() argument
208 tbs_client_call_states_ev(err, inst_index, call_count, call_states); in tbs_client_call_states_cb()
213 uint8_t inst_index, in tbs_client_termination_reason_cb() argument
221 static void tbs_client_read_string_cb(struct bt_conn *conn, int err, uint8_t inst_index, in tbs_client_read_string_cb() argument
[all …]