Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_initiator_broadcast_test.c151 static void broadcast_source_started_cb(struct bt_cap_broadcast_source *broadcast_source) in broadcast_source_started_cb() argument
153 printk("Broadcast source %p started\n", broadcast_source); in broadcast_source_started_cb()
157 static void broadcast_source_stopped_cb(struct bt_cap_broadcast_source *broadcast_source, in broadcast_source_stopped_cb() argument
160 printk("Broadcast source %p stopped with reason 0x%02X\n", broadcast_source, reason); in broadcast_source_stopped_cb()
333 struct bt_cap_broadcast_source *broadcast_source; in test_broadcast_audio_create_inval() local
357 err = bt_cap_initiator_broadcast_audio_create(NULL, &broadcast_source); in test_broadcast_audio_create_inval()
385 static void test_broadcast_audio_create(struct bt_cap_broadcast_source **broadcast_source) in test_broadcast_audio_create() argument
415 err = bt_cap_initiator_broadcast_audio_create(&create_param, broadcast_source); in test_broadcast_audio_create()
433 static void test_broadcast_audio_start_inval(struct bt_cap_broadcast_source *broadcast_source, in test_broadcast_audio_start_inval() argument
446 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, NULL); in test_broadcast_audio_start_inval()
[all …]
Dpbp_public_broadcast_source_test.c53 static struct bt_cap_broadcast_source *broadcast_source; variable
300 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in test_main()
306 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in test_main()
312 err = setup_extended_adv_data(broadcast_source, adv); in test_main()
331 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in test_main()
338 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in test_main()
344 broadcast_source = NULL; in test_main()
Dgmap_ugg_test.c1104 static void broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in broadcast_audio_start() argument
1109 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in broadcast_audio_start()
1118 static void broadcast_audio_stop(struct bt_cap_broadcast_source *broadcast_source, in broadcast_audio_stop() argument
1125 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in broadcast_audio_stop()
1140 static void broadcast_audio_delete(struct bt_cap_broadcast_source *broadcast_source) in broadcast_audio_delete() argument
1146 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in broadcast_audio_delete()
1168 struct bt_cap_broadcast_source *broadcast_source; in test_gmap_ugg_broadcast_ac() local
1203 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in test_gmap_ugg_broadcast_ac()
1215 broadcast_audio_start(broadcast_source, adv); in test_gmap_ugg_broadcast_ac()
1216 setup_extended_adv_data(broadcast_source, adv); in test_gmap_ugg_broadcast_ac()
[all …]
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c93 static int broadcast_create(struct bt_cap_broadcast_source **broadcast_source) in broadcast_create() argument
116 err = bt_cap_initiator_broadcast_audio_create(&create_param, broadcast_source); in broadcast_create()
198 static int broadcast_start(struct bt_cap_broadcast_source *broadcast_source, in broadcast_start() argument
203 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in broadcast_start()
231 struct bt_cap_broadcast_source *broadcast_source; in cap_initiator_broadcast() local
247 err = broadcast_create(&broadcast_source); in cap_initiator_broadcast()
252 err = broadcast_start(broadcast_source, adv); in cap_initiator_broadcast()
257 err = setup_extended_adv_data(broadcast_source, adv); in cap_initiator_broadcast()
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c54 struct bt_cap_broadcast_source *broadcast_source; variable
313 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in cap_initiator_setup()
319 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup()
325 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup()
346 err = bt_cap_initiator_broadcast_audio_update(broadcast_source, in cap_initiator_setup()
357 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in cap_initiator_setup()
364 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in cap_initiator_setup()
369 broadcast_source = NULL; in cap_initiator_setup()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h549 struct bt_cap_broadcast_source **broadcast_source);
570 int bt_cap_initiator_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source,
586 int bt_cap_initiator_broadcast_audio_update(struct bt_cap_broadcast_source *broadcast_source,
601 int bt_cap_initiator_broadcast_audio_stop(struct bt_cap_broadcast_source *broadcast_source);
620 int bt_cap_initiator_broadcast_audio_delete(struct bt_cap_broadcast_source *broadcast_source);
637 int bt_cap_initiator_broadcast_get_base(struct bt_cap_broadcast_source *broadcast_source,
694 struct bt_cap_broadcast_source *broadcast_source; member
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c70 struct bt_cap_broadcast_source *broadcast_source; variable
373 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in cap_initiator_setup()
380 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup()
387 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup()
410 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in cap_initiator_setup()
418 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in cap_initiator_setup()
424 broadcast_source = NULL; in cap_initiator_setup()
/Zephyr-latest/tests/bsim/bluetooth/audio/test_scripts/
Dbap_broadcast_audio_sink_disconnect.sh19 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
Dbap_broadcast_audio.sh19 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
Dbap_broadcast_audio_single_group_multiple_bis.sh17 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
Dbap_broadcast_audio_single_group_single_bis.sh17 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
Dbap_broadcast_audio_multiple_group_multiple_bis.sh17 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
Dbap_broadcast_audio_multiple_group_single_bis.sh17 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
Dbap_broadcast_audio_assistant.sh27 -testid=broadcast_source -RealEncryption=1 -rs=69 -D=3
Dcap_broadcast_reception.sh23 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_source \
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c147 static struct bt_bap_broadcast_source *broadcast_source; variable
534 err = setup_broadcast_source(&broadcast_source); in main()
565 err = bt_bap_broadcast_source_get_base(broadcast_source, &base_buf); in main()
596 err = bt_bap_broadcast_source_start(broadcast_source, adv); in main()
621 err = bt_bap_broadcast_source_stop(broadcast_source); in main()
632 err = bt_bap_broadcast_source_delete(broadcast_source); in main()
638 broadcast_source = NULL; in main()
/Zephyr-latest/subsys/bluetooth/audio/
Dcap_initiator.c224 struct bt_cap_broadcast_source **broadcast_source) in bt_cap_initiator_broadcast_audio_create() argument
237 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_create()
248 *broadcast_source = &broadcast_sources[i]; in bt_cap_initiator_broadcast_audio_create()
257 &(*broadcast_source)->bap_broadcast); in bt_cap_initiator_broadcast_audio_create()
303 int bt_cap_initiator_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in bt_cap_initiator_broadcast_audio_start() argument
313 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_start()
333 return bt_bap_broadcast_source_start(broadcast_source->bap_broadcast, adv); in bt_cap_initiator_broadcast_audio_start()
336 int bt_cap_initiator_broadcast_audio_update(struct bt_cap_broadcast_source *broadcast_source, in bt_cap_initiator_broadcast_audio_update() argument
339 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_update()
354 return bt_bap_broadcast_source_update_metadata(broadcast_source->bap_broadcast, meta, in bt_cap_initiator_broadcast_audio_update()
[all …]
Dbap_endpoint.h63 struct bt_bap_broadcast_source *broadcast_source; member
Dbap_broadcast_source.c329 ep->broadcast_source = source; in broadcast_source_setup_stream()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Daudio.h170 struct broadcast_source { struct
806 extern struct broadcast_source default_source;
949 static inline void copy_broadcast_source_preset(struct broadcast_source *source, in copy_broadcast_source_preset()
Dbap.c78 struct broadcast_source default_source;