Home
last modified time | relevance | path

Searched refs:broadcast_source (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/
Dcap_initiator_broadcast_test.c300 struct bt_cap_broadcast_source *broadcast_source; in test_broadcast_audio_create_inval() local
323 err = bt_cap_initiator_broadcast_audio_create(NULL, &broadcast_source); in test_broadcast_audio_create_inval()
351 static void test_broadcast_audio_create(struct bt_cap_broadcast_source **broadcast_source) in test_broadcast_audio_create() argument
381 err = bt_cap_initiator_broadcast_audio_create(&create_param, broadcast_source); in test_broadcast_audio_create()
399 static void test_broadcast_audio_start_inval(struct bt_cap_broadcast_source *broadcast_source, in test_broadcast_audio_start_inval() argument
412 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, NULL); in test_broadcast_audio_start_inval()
419 static void test_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in test_broadcast_audio_start() argument
424 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in test_broadcast_audio_start()
434 static void test_broadcast_audio_update_inval(struct bt_cap_broadcast_source *broadcast_source) in test_broadcast_audio_update_inval() argument
455 err = bt_cap_initiator_broadcast_audio_update(broadcast_source, NULL, in test_broadcast_audio_update_inval()
[all …]
Dpbp_public_broadcast_source_test.c51 static struct bt_cap_broadcast_source *broadcast_source; variable
311 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in test_main()
317 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in test_main()
323 err = setup_extended_adv_data(broadcast_source, adv); in test_main()
345 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in test_main()
352 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in test_main()
358 broadcast_source = NULL; in test_main()
Dgmap_ugg_test.c1113 static void broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in broadcast_audio_start() argument
1118 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in broadcast_audio_start()
1127 static void broadcast_audio_stop(struct bt_cap_broadcast_source *broadcast_source, in broadcast_audio_stop() argument
1138 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in broadcast_audio_stop()
1153 static void broadcast_audio_delete(struct bt_cap_broadcast_source *broadcast_source) in broadcast_audio_delete() argument
1159 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in broadcast_audio_delete()
1181 struct bt_cap_broadcast_source *broadcast_source; in test_gmap_ugg_broadcast_ac() local
1216 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in test_gmap_ugg_broadcast_ac()
1228 broadcast_audio_start(broadcast_source, adv); in test_gmap_ugg_broadcast_ac()
1229 setup_extended_adv_data(broadcast_source, adv); in test_gmap_ugg_broadcast_ac()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/audio/
Dcap.h471 struct bt_cap_broadcast_source **broadcast_source);
492 int bt_cap_initiator_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source,
508 int bt_cap_initiator_broadcast_audio_update(struct bt_cap_broadcast_source *broadcast_source,
523 int bt_cap_initiator_broadcast_audio_stop(struct bt_cap_broadcast_source *broadcast_source);
542 int bt_cap_initiator_broadcast_audio_delete(struct bt_cap_broadcast_source *broadcast_source);
558 int bt_cap_initiator_broadcast_get_id(const struct bt_cap_broadcast_source *broadcast_source,
576 int bt_cap_initiator_broadcast_get_base(struct bt_cap_broadcast_source *broadcast_source,
631 struct bt_cap_broadcast_source *broadcast_source; member
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c45 struct bt_cap_broadcast_source *broadcast_source; variable
281 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in cap_initiator_setup()
287 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup()
293 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup()
314 err = bt_cap_initiator_broadcast_audio_update(broadcast_source, in cap_initiator_setup()
325 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in cap_initiator_setup()
332 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in cap_initiator_setup()
337 broadcast_source = NULL; in cap_initiator_setup()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/test_scripts/
Dbap_broadcast_audio.sh19 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23 -D=2
36 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23 -D=2
Dbap_broadcast_audio_assistant.sh27 -testid=broadcast_source -rs=69 -D=3
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/
Dcap_initiator.c189 struct bt_cap_broadcast_source **broadcast_source) in bt_cap_initiator_broadcast_audio_create() argument
202 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_create()
213 *broadcast_source = &broadcast_sources[i]; in bt_cap_initiator_broadcast_audio_create()
222 &(*broadcast_source)->bap_broadcast); in bt_cap_initiator_broadcast_audio_create()
225 int bt_cap_initiator_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in bt_cap_initiator_broadcast_audio_start() argument
233 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_start()
238 return bt_bap_broadcast_source_start(broadcast_source->bap_broadcast, adv); in bt_cap_initiator_broadcast_audio_start()
241 int bt_cap_initiator_broadcast_audio_update(struct bt_cap_broadcast_source *broadcast_source, in bt_cap_initiator_broadcast_audio_update() argument
244 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_update()
259 return bt_bap_broadcast_source_update_metadata(broadcast_source->bap_broadcast, meta, in bt_cap_initiator_broadcast_audio_update()
[all …]
Dbap_endpoint.h54 struct bt_bap_broadcast_source *broadcast_source; member
Dbap_broadcast_source.c311 ep->broadcast_source = source; in broadcast_source_setup_stream()
/Zephyr-Core-3.6.0/samples/bluetooth/public_broadcast_source/src/
Dmain.c55 struct bt_cap_broadcast_source *broadcast_source; variable
335 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in cap_initiator_setup()
342 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup()
349 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup()
372 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in cap_initiator_setup()
380 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in cap_initiator_setup()
386 broadcast_source = NULL; in cap_initiator_setup()
/Zephyr-Core-3.6.0/samples/bluetooth/broadcast_audio_source/src/
Dmain.c126 static struct bt_bap_broadcast_source *broadcast_source; variable
505 err = setup_broadcast_source(&broadcast_source); in main()
511 err = bt_bap_broadcast_source_get_id(broadcast_source, &broadcast_id); in main()
531 err = bt_bap_broadcast_source_get_base(broadcast_source, &base_buf); in main()
565 err = bt_bap_broadcast_source_start(broadcast_source, adv); in main()
593 err = bt_bap_broadcast_source_stop(broadcast_source); in main()
606 err = bt_bap_broadcast_source_delete(broadcast_source); in main()
612 broadcast_source = NULL; in main()
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/shell/
Daudio.h102 struct broadcast_source { struct
243 extern struct broadcast_source default_source;
332 static inline void copy_broadcast_source_preset(struct broadcast_source *source, in copy_broadcast_source_preset()
Dbap.c55 struct broadcast_source default_source;