Home
last modified time | relevance | path

Searched refs:connected_conns (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_commander.c195 struct bt_conn **connected_conns = (struct bt_conn **)data; in populate_connected_conns() local
198 if (connected_conns[i] == NULL) { in populate_connected_conns()
199 connected_conns[i] = conn; in populate_connected_conns()
209 struct bt_conn *connected_conns[CONFIG_BT_MAX_CONN] = {0}; in cmd_cap_commander_change_volume() local
240 bt_conn_foreach(BT_CONN_TYPE_LE, populate_connected_conns, (void *)connected_conns); in cmd_cap_commander_change_volume()
244 for (size_t i = 0; i < ARRAY_SIZE(connected_conns); i++) { in cmd_cap_commander_change_volume()
245 struct bt_conn *conn = connected_conns[i]; in cmd_cap_commander_change_volume()
269 struct bt_conn *connected_conns[CONFIG_BT_MAX_CONN] = {0}; in cmd_cap_commander_change_volume_mute() local
290 bt_conn_foreach(BT_CONN_TYPE_LE, populate_connected_conns, (void *)connected_conns); in cmd_cap_commander_change_volume_mute()
294 for (size_t i = 0; i < ARRAY_SIZE(connected_conns); i++) { in cmd_cap_commander_change_volume_mute()
[all …]
Dcap_initiator.c139 struct bt_conn **connected_conns = (struct bt_conn **)data; in populate_connected_conns() local
142 if (connected_conns[i] == NULL) { in populate_connected_conns()
143 connected_conns[i] = conn; in populate_connected_conns()
158 struct bt_conn *connected_conns[CONFIG_BT_MAX_CONN] = {0}; in cmd_cap_initiator_unicast_start() local
210 conn_cnt = MIN(conn_cnt, ARRAY_SIZE(connected_conns)); in cmd_cap_initiator_unicast_start()
230 (void)memset(connected_conns, 0, sizeof(connected_conns)); in cmd_cap_initiator_unicast_start()
232 (void *)connected_conns); in cmd_cap_initiator_unicast_start()
237 struct bt_conn *conn = connected_conns[i]; in cmd_cap_initiator_unicast_start()
559 struct bt_conn *connected_conns[], in cap_ac_unicast_start() argument
581 snk_eps[snk_ep_cnt] = snks[bt_conn_index(connected_conns[i])][j]; in cap_ac_unicast_start()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_commander_test.c45 static struct bt_conn *connected_conns[CONFIG_BT_MAX_CONN]; variable
470 if (conn == connected_conns[index]) { in bap_broadcast_assistant_recv_state_cb()
548 &connected_conns[connected_conn_cnt]); in check_audio_support_and_connect_cb()
672 struct bt_conn *conn = connected_conns[i]; in disconnect_acl()
690 const struct bt_conn *conn = connected_conns[i]; in disconnect_acl()
704 struct bt_conn *conn = connected_conns[i]; in discover_cas()
720 const struct bt_conn *conn = connected_conns[i]; in discover_cas()
740 err = bt_bap_broadcast_assistant_discover(connected_conns[i]); in discover_bass()
752 (void *)connected_conns[i], err); in discover_bass()
796 struct bt_conn *conn = connected_conns[i]; in discover_vcs()
[all …]
Dgmap_ugg_test.c125 static struct bt_conn *connected_conns[GMAP_UNICAST_AC_MAX_CONN]; variable
520 &connected_conns[connected_conn_cnt]); in gmap_device_found()
685 snk_eps[snk_ep_cnt] = sink_eps[bt_conn_index(connected_conns[i])][j]; in gmap_ac_cap_unicast_start()
697 src_eps[src_ep_cnt] = source_eps[bt_conn_index(connected_conns[i])][j]; in gmap_ac_cap_unicast_start()
740 stream_param->member.member = connected_conns[i]; in gmap_ac_cap_unicast_start()
766 stream_param->member.member = connected_conns[i]; in gmap_ac_cap_unicast_start()
958 discover_cas(connected_conns[i]); in test_gmap_ugg_unicast_ac()
961 discover_sink(connected_conns[i]); in test_gmap_ugg_unicast_ac()
965 discover_source(connected_conns[i]); in test_gmap_ugg_unicast_ac()
968 discover_gmas(connected_conns[i]); in test_gmap_ugg_unicast_ac()
[all …]
Dcap_initiator_unicast_test.c78 static struct bt_conn *connected_conns[CAP_AC_MAX_CONN]; variable
408 &connected_conns[connected_conn_cnt]); in check_audio_support_and_connect_cb()
1081 const uint8_t conn_index = bt_conn_index(connected_conns[i]); in cap_initiator_ac_cap_unicast_start()
1139 stream_param->member.member = connected_conns[i]; in cap_initiator_ac_cap_unicast_start()
1165 stream_param->member.member = connected_conns[i]; in cap_initiator_ac_cap_unicast_start()
1336 discover_cas(connected_conns[i]); in test_cap_initiator_ac()
1339 discover_sink(connected_conns[i]); in test_cap_initiator_ac()
1343 discover_source(connected_conns[i]); in test_cap_initiator_ac()
1356 bt_conn_disconnect(connected_conns[i], BT_HCI_ERR_REMOTE_USER_TERM_CONN); in test_cap_initiator_ac()
1362 bt_conn_unref(connected_conns[i]); in test_cap_initiator_ac()
[all …]