Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/
Dcap.h88 void (*unicast_start_complete)(struct bt_bap_unicast_group *unicast_group,
121 void (*unicast_stop_complete)(struct bt_bap_unicast_group *unicast_group,
278 struct bt_bap_unicast_group *unicast_group);
310 int bt_cap_initiator_unicast_audio_stop(struct bt_bap_unicast_group *unicast_group);
524 struct bt_bap_unicast_group *unicast_group; member
609 struct bt_bap_unicast_group **unicast_group);
Dbap.h1066 struct bt_bap_unicast_group **unicast_group);
1087 int bt_bap_unicast_group_add_streams(struct bt_bap_unicast_group *unicast_group,
1101 int bt_bap_unicast_group_delete(struct bt_bap_unicast_group *unicast_group);
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dcap_initiator_unicast_test.c197 static void unicast_start_complete_cb(struct bt_bap_unicast_group *unicast_group, int err, in unicast_start_complete_cb() argument
220 static void unicast_stop_complete_cb(struct bt_bap_unicast_group *unicast_group, int err, in unicast_stop_complete_cb() argument
539 static void unicast_audio_start_inval(struct bt_bap_unicast_group *unicast_group) in unicast_audio_start_inval() argument
559 err = bt_cap_initiator_unicast_audio_start(NULL, unicast_group); in unicast_audio_start_inval()
578 err = bt_cap_initiator_unicast_audio_start(&invalid_start_param, unicast_group); in unicast_audio_start_inval()
588 err = bt_cap_initiator_unicast_audio_start(&invalid_start_param, unicast_group); in unicast_audio_start_inval()
599 err = bt_cap_initiator_unicast_audio_start(&invalid_start_param, unicast_group); in unicast_audio_start_inval()
609 err = bt_cap_initiator_unicast_audio_start(&invalid_start_param, unicast_group); in unicast_audio_start_inval()
619 err = bt_cap_initiator_unicast_audio_start(&invalid_start_param, unicast_group); in unicast_audio_start_inval()
629 err = bt_cap_initiator_unicast_audio_start(&invalid_start_param, unicast_group); in unicast_audio_start_inval()
[all …]
Dbap_unicast_client_test.c544 static void qos_configure_streams(struct bt_bap_unicast_group *unicast_group, in qos_configure_streams() argument
552 err = bt_bap_stream_qos(default_conn, unicast_group); in qos_configure_streams()
720 static size_t create_unicast_group(struct bt_bap_unicast_group **unicast_group) in create_unicast_group() argument
776 err = bt_bap_unicast_group_create(&param, unicast_group); in create_unicast_group()
786 static void delete_unicast_group(struct bt_bap_unicast_group *unicast_group) in delete_unicast_group() argument
791 err = bt_bap_unicast_group_delete(unicast_group); in delete_unicast_group()
819 struct bt_bap_unicast_group *unicast_group; in test_main() local
825 stream_cnt = create_unicast_group(&unicast_group); in test_main()
831 qos_configure_streams(unicast_group, stream_cnt); in test_main()
847 delete_unicast_group(unicast_group); in test_main()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dcap_initiator.c347 struct bt_bap_unicast_group *unicast_group; member
648 struct bt_bap_unicast_group *unicast_group) in valid_unicast_audio_start_param() argument
749 CHECKIF(bap_stream->group != unicast_group) { in valid_unicast_audio_start_param()
750 LOG_DBG("param->streams[%zu] is not in this group %p", i, unicast_group); in valid_unicast_audio_start_param()
771 struct bt_bap_unicast_group *unicast_group; in cap_initiator_unicast_audio_proc_complete() local
776 unicast_group = active_proc.unicast_group; in cap_initiator_unicast_audio_proc_complete()
789 cap_cb->unicast_start_complete(unicast_group, err, failed_conn); in cap_initiator_unicast_audio_proc_complete()
799 cap_cb->unicast_stop_complete(unicast_group, err, failed_conn); in cap_initiator_unicast_audio_proc_complete()
885 struct bt_bap_unicast_group *unicast_group) in bt_cap_initiator_unicast_audio_start() argument
893 CHECKIF(unicast_group == NULL) { in bt_cap_initiator_unicast_audio_start()
[all …]
Dbap_endpoint.h53 struct bt_bap_unicast_group *unicast_group; member
Dbap_unicast_client.c2539 struct bt_bap_unicast_group *unicast_group; in bt_bap_unicast_group_create() local
2564 unicast_group = unicast_group_alloc(); in bt_bap_unicast_group_create()
2565 if (unicast_group == NULL) { in bt_bap_unicast_group_create()
2585 err = unicast_group_add_stream_pair(unicast_group, stream_param); in bt_bap_unicast_group_create()
2588 unicast_group_free(unicast_group); in bt_bap_unicast_group_create()
2594 err = bt_audio_cig_create(unicast_group, group_qos); in bt_bap_unicast_group_create()
2597 unicast_group_free(unicast_group); in bt_bap_unicast_group_create()
2602 *out_unicast_group = unicast_group; in bt_bap_unicast_group_create()
2607 int bt_bap_unicast_group_add_streams(struct bt_bap_unicast_group *unicast_group, in bt_bap_unicast_group_add_streams() argument
2611 const struct bt_audio_codec_qos *group_qos = unicast_group->qos; in bt_bap_unicast_group_add_streams()
[all …]
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c122 static void unicast_start_complete_cb(struct bt_bap_unicast_group *unicast_group, in unicast_start_complete_cb() argument
141 static void unicast_stop_complete_cb(struct bt_bap_unicast_group *unicast_group, int err, in unicast_stop_complete_cb() argument
333 static int unicast_audio_start(struct bt_conn *conn, struct bt_bap_unicast_group *unicast_group) in unicast_audio_start() argument
348 err = bt_cap_initiator_unicast_audio_start(&param, unicast_group); in unicast_audio_start()
433 struct bt_bap_unicast_group *unicast_group; in cap_initiator_setup() local
455 err = unicast_group_create(&unicast_group); in cap_initiator_setup()
460 err = unicast_audio_start(conn, unicast_group); in cap_initiator_setup()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dcap_initiator.c39 static void cap_unicast_start_complete_cb(struct bt_bap_unicast_group *unicast_group, in cap_unicast_start_complete_cb() argument
63 static void unicast_stop_complete_cb(struct bt_bap_unicast_group *unicast_group, int err, in unicast_stop_complete_cb() argument
66 if (default_unicast_group != unicast_group) { in unicast_stop_complete_cb()
76 unicast_group, conn, err); in unicast_stop_complete_cb()
82 err = bt_bap_unicast_group_delete(unicast_group); in unicast_stop_complete_cb()
85 unicast_group, err); in unicast_stop_complete_cb()
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_client/src/
Dmain.c25 static struct bt_bap_unicast_group *unicast_group; variable
942 err = bt_bap_unicast_group_create(&param, &unicast_group); in create_group()
955 err = bt_bap_unicast_group_delete(unicast_group); in delete_group()
968 err = bt_bap_stream_qos(default_conn, unicast_group); in set_stream_qos()