Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dtbs_client.c45 unsigned long inst_index; in cmd_tbs_client_set_signal_strength_interval() local
54 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_set_signal_strength_interval()
56 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_set_signal_strength_interval()
65 if (inst_index > UINT8_MAX) { in cmd_tbs_client_set_signal_strength_interval()
67 inst_index); in cmd_tbs_client_set_signal_strength_interval()
73 inst_index = 0; in cmd_tbs_client_set_signal_strength_interval()
90 inst_index, in cmd_tbs_client_set_signal_strength_interval()
104 unsigned long inst_index; in cmd_tbs_client_hold() local
110 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_hold()
112 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_hold()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/
Dtbs.h367 uint8_t inst_index);
380 uint8_t inst_index, uint8_t call_index);
393 uint8_t inst_index,
406 uint8_t inst_index, uint32_t value);
419 int err, uint8_t inst_index,
435 uint8_t inst_index,
451 uint8_t inst_index,
537 int bt_tbs_client_set_outgoing_uri(struct bt_conn *conn, uint8_t inst_index,
553 uint8_t inst_index,
568 int bt_tbs_client_originate_call(struct bt_conn *conn, uint8_t inst_index,
[all …]
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dtbs_client_test.c92 uint8_t inst_index, uint32_t value) in tbs_client_read_ccid_cb() argument
101 printk("Read CCID %u on index %u\n", value, inst_index); in tbs_client_read_ccid_cb()
113 uint8_t inst_index, in tbs_client_originate_call_cb() argument
121 uint8_t inst_index, in tbs_client_hold_call_cb() argument
129 printk("%s Instance: %u Call index: %u\n", __func__, inst_index, in tbs_client_hold_call_cb()
134 uint8_t inst_index, in tbs_client_retrieve_call_cb() argument
142 printk("%s Instance: %u Call index: %u\n", __func__, inst_index, in tbs_client_retrieve_call_cb()
147 uint8_t inst_index, in tbs_client_technology_cb() argument
155 printk("%s Instance: %u Technology: %u\n", __func__, inst_index, in tbs_client_technology_cb()
162 uint8_t inst_index, in tbs_client_signal_strength_cb() argument
[all …]
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_peripheral/src/
Dccp_call_ctrl.c47 static void originate_call_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_index) in originate_call_cb() argument
49 if (inst_index != BT_TBS_GTBS_INDEX) { in originate_call_cb()
50 printk("Unexpected %s for instance %u\n", __func__, inst_index); in originate_call_cb()
63 uint8_t inst_index, uint8_t call_index) in terminate_call_cb() argument
65 if (inst_index != BT_TBS_GTBS_INDEX) { in terminate_call_cb()
66 printk("Unexpected %s for instance %u\n", __func__, inst_index); in terminate_call_cb()
78 uint8_t inst_index, const char *value) in read_uri_schemes_string_cb() argument
82 if (inst_index != BT_TBS_GTBS_INDEX) { in read_uri_schemes_string_cb()
83 printk("Unexpected %s for instance %u\n", __func__, inst_index); in read_uri_schemes_string_cb()
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/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
60 uint8_t inst_index; member
/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/
Dccp_call_ctrl.c96 static void ccid_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint32_t value) in ccid_cb() argument
98 if (inst_index != BT_TBS_GTBS_INDEX) { in ccid_cb()
99 printk("Unexpected %s for instance %u\n", __func__, inst_index); in ccid_cb()
113 static void status_flags_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint32_t value) in status_flags_cb() argument
115 if (inst_index != BT_TBS_GTBS_INDEX) { in status_flags_cb()
116 printk("Unexpected %s for instance %u\n", __func__, inst_index); in status_flags_cb()
130 static void call_state_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_count, in call_state_cb() argument
133 if (inst_index != BT_TBS_GTBS_INDEX) { in call_state_cb()
134 printk("Unexpected %s for instance %u\n", __func__, inst_index); in call_state_cb()
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_ccp.c77 uint8_t inst_index, in tbs_client_originate_call_cb() argument
95 uint8_t inst_index, in tbs_client_terminate_call_cb() argument
113 uint8_t inst_index, in tbs_client_accept_call_cb() argument
131 uint8_t inst_index, in tbs_client_retrieve_call_cb() argument
144 uint8_t inst_index, in tbs_client_call_states_ev() argument
150 sys_cpu_to_le32(err), inst_index, call_count in tbs_client_call_states_ev()
176 uint8_t inst_index, in tbs_client_call_states_cb() argument
182 tbs_client_call_states_ev(err, inst_index, call_count, call_states); in tbs_client_call_states_cb()
197 uint8_t inst_index, in tbs_client_termination_reason_cb() argument
239 err = (conn) ? bt_tbs_client_accept_call(conn, cp->inst_index, cp->call_id) : -ENOTCONN; in ccp_accept_call()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dtbs_client.c583 uint8_t inst_index = tbs_index(conn, tbs_inst); in notify_handler() local
585 LOG_DBG("Index %u", inst_index); in notify_handler()
734 uint8_t inst_index = tbs_index(conn, inst); in handle_string_long_read() local
756 cb(conn, tbs_err, inst_index, NULL); in handle_string_long_read()
818 cb(conn, tbs_err, inst_index, received_string); in handle_string_long_read()
833 uint8_t inst_index, in tbs_client_common_call_control() argument
840 inst = tbs_inst_by_index(conn, inst_index); in tbs_client_common_call_control()
906 uint8_t inst_index = tbs_index(conn, inst); in read_technology_cb() local
910 LOG_DBG("Index %u", inst_index); in read_technology_cb()
928 tbs_client_cbs->technology(conn, cb_err, inst_index, technology); in read_technology_cb()
[all …]