Home
last modified time | relevance | path

Searched refs:unicast_group (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_initiator_unicast_test.c605 static void unicast_audio_start(struct bt_bap_unicast_group *unicast_group, bool wait) in unicast_audio_start() argument
717 static void unicast_audio_stop(struct bt_bap_unicast_group *unicast_group) in unicast_audio_stop() argument
791 static void unicast_group_delete(struct bt_bap_unicast_group *unicast_group) in unicast_group_delete() argument
795 err = bt_bap_unicast_group_delete(unicast_group); in unicast_group_delete()
802 err = bt_bap_unicast_group_delete(unicast_group); in unicast_group_delete()
812 struct bt_bap_unicast_group *unicast_group; in test_main_cap_initiator_unicast() local
829 unicast_group_create(&unicast_group); in test_main_cap_initiator_unicast()
834 unicast_audio_start(unicast_group, true); in test_main_cap_initiator_unicast()
838 unicast_audio_stop(unicast_group); in test_main_cap_initiator_unicast()
841 unicast_group_delete(unicast_group); in test_main_cap_initiator_unicast()
[all …]
Dbap_unicast_client_test.c625 static void qos_configure_streams(struct bt_bap_unicast_group *unicast_group, in qos_configure_streams() argument
633 err = bt_bap_stream_qos(default_conn, unicast_group); in qos_configure_streams()
926 static size_t create_unicast_group(struct bt_bap_unicast_group **unicast_group) in create_unicast_group() argument
984 err = bt_bap_unicast_group_create(&param, unicast_group); in create_unicast_group()
994 static void delete_unicast_group(struct bt_bap_unicast_group *unicast_group) in delete_unicast_group() argument
999 err = bt_bap_unicast_group_delete(unicast_group); in delete_unicast_group()
1029 struct bt_bap_unicast_group *unicast_group; in test_main() local
1035 stream_cnt = create_unicast_group(&unicast_group); in test_main()
1041 qos_configure_streams(unicast_group, stream_cnt); in test_main()
1069 delete_unicast_group(unicast_group); in test_main()
[all …]
Dgmap_ugg_test.c608 struct bt_bap_unicast_group **unicast_group) in gmap_unicast_ac_create_unicast_group() argument
658 return bt_bap_unicast_group_create(&group_param, unicast_group); in gmap_unicast_ac_create_unicast_group()
664 struct bt_bap_unicast_group *unicast_group) in gmap_ac_cap_unicast_start() argument
806 struct bt_bap_unicast_group **unicast_group) in gmap_ac_unicast() argument
867 src_cnt, unicast_group); in gmap_ac_unicast()
878 *unicast_group); in gmap_ac_unicast()
890 static void unicast_audio_stop(struct bt_bap_unicast_group *unicast_group) in unicast_audio_stop() argument
914 static void unicast_group_delete(struct bt_bap_unicast_group *unicast_group) in unicast_group_delete() argument
918 err = bt_bap_unicast_group_delete(unicast_group); in unicast_group_delete()
927 struct bt_bap_unicast_group *unicast_group; in test_gmap_ugg_unicast_ac() local
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_unicast_client.c329 if (ep->unicast_group != NULL) { in unicast_client_ep_iso_connected()
330 ep->unicast_group->has_been_connected = true; in unicast_client_ep_iso_connected()
2310 static uint8_t unicast_group_get_cis_count(const struct bt_bap_unicast_group *unicast_group) in unicast_group_get_cis_count() argument
2314 for (size_t i = 0U; i < ARRAY_SIZE(unicast_group->cis); i++) { in unicast_group_get_cis_count()
2315 if (unicast_group->cis[i] == NULL) { in unicast_group_get_cis_count()
2726 static bool valid_unicast_group_stream_param(const struct bt_bap_unicast_group *unicast_group, in valid_unicast_group_stream_param() argument
2744 if (unicast_group != NULL && param->stream->group != unicast_group) { in valid_unicast_group_stream_param()
2745 LOG_DBG("stream %p not part of group %p (%p)", param->stream, unicast_group, in valid_unicast_group_stream_param()
2807 valid_group_stream_pair_param(const struct bt_bap_unicast_group *unicast_group, in valid_group_stream_pair_param() argument
2818 if (!valid_unicast_group_stream_param(unicast_group, pair_param->rx_param, in valid_group_stream_pair_param()
[all …]
Dcap_initiator.c758 struct bt_bap_unicast_group *unicast_group = NULL; in valid_unicast_audio_start_param() local
836 if (unicast_group == NULL) { in valid_unicast_audio_start_param()
837 unicast_group = bap_stream->group; in valid_unicast_audio_start_param()
839 CHECKIF(bap_stream->group != unicast_group) { in valid_unicast_audio_start_param()
841 unicast_group); in valid_unicast_audio_start_param()
1045 struct bt_bap_unicast_group *unicast_group; in bt_cap_initiator_codec_configured() local
1152 unicast_group = (struct bt_bap_unicast_group *)proc_param->stream->bap_stream.group; in bt_cap_initiator_codec_configured()
1173 err = bt_bap_stream_qos(conns[i], unicast_group); in bt_cap_initiator_codec_configured()
1176 (void *)conns[i], unicast_group, err); in bt_cap_initiator_codec_configured()
1545 struct bt_bap_unicast_group *unicast_group = NULL; in valid_unicast_audio_update_param() local
[all …]
Dbap_endpoint.h62 struct bt_bap_unicast_group *unicast_group; member
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c47 static struct bt_bap_unicast_group *unicast_group; variable
362 err = bt_bap_unicast_group_create(&group_param, &unicast_group); in unicast_group_create()
377 err = bt_bap_unicast_group_delete(unicast_group); in unicast_group_delete()
382 unicast_group = NULL; in unicast_group_delete()
787 if (unicast_group != NULL) { in reset_cap_initiator()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h643 struct bt_bap_unicast_group *unicast_group; member
729 struct bt_bap_unicast_group **unicast_group);
Dbap.h1522 struct bt_bap_unicast_group **unicast_group);
1539 int bt_bap_unicast_group_reconfig(struct bt_bap_unicast_group *unicast_group,
1561 int bt_bap_unicast_group_add_streams(struct bt_bap_unicast_group *unicast_group,
1575 int bt_bap_unicast_group_delete(struct bt_bap_unicast_group *unicast_group);
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dmain.c44 static struct bt_bap_unicast_group *unicast_group; variable
702 err = bt_bap_unicast_group_create(&param, &unicast_group); in create_group()
715 err = bt_bap_unicast_group_delete(unicast_group); in delete_group()
728 err = bt_bap_stream_qos(default_conn, unicast_group); in set_stream_qos()
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c447 struct bt_bap_unicast_group *unicast_group; in cap_initiator_setup() local
469 err = unicast_group_create(&unicast_group); in cap_initiator_setup()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_unicast_stop.c37 struct bt_bap_unicast_group unicast_group; member
60 sys_slist_append(&fixture->unicast_group.streams, &bap_stream->_node); in cap_initiator_test_unicast_stop_fixture_init()
61 bap_stream->group = &fixture->unicast_group; in cap_initiator_test_unicast_stop_fixture_init()
Dtest_unicast_start.c36 struct bt_bap_unicast_group unicast_group; member
54 sys_slist_append(&fixture->unicast_group.streams, &bap_stream->_node); in cap_initiator_test_unicast_start_fixture_init()
55 bap_stream->group = &fixture->unicast_group; in cap_initiator_test_unicast_start_fixture_init()