Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dcap_initiator_broadcast_test.c236 struct bt_cap_broadcast_source *broadcast_source; in test_broadcast_audio_create_inval() local
258 err = bt_cap_initiator_broadcast_audio_create(NULL, &broadcast_source); in test_broadcast_audio_create_inval()
286 static void test_broadcast_audio_create(struct bt_cap_broadcast_source **broadcast_source) in test_broadcast_audio_create() argument
315 err = bt_cap_initiator_broadcast_audio_create(&create_param, broadcast_source); in test_broadcast_audio_create()
325 static void test_broadcast_audio_start_inval(struct bt_cap_broadcast_source *broadcast_source, in test_broadcast_audio_start_inval() argument
338 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, NULL); in test_broadcast_audio_start_inval()
345 static void test_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in test_broadcast_audio_start() argument
350 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, adv); in test_broadcast_audio_start()
360 static void test_broadcast_audio_update_inval(struct bt_cap_broadcast_source *broadcast_source) in test_broadcast_audio_update_inval() argument
381 err = bt_cap_initiator_broadcast_audio_update(broadcast_source, NULL, in test_broadcast_audio_update_inval()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/
Dcap.h414 struct bt_cap_broadcast_source **broadcast_source);
435 int bt_cap_initiator_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source,
451 int bt_cap_initiator_broadcast_audio_update(struct bt_cap_broadcast_source *broadcast_source,
466 int bt_cap_initiator_broadcast_audio_stop(struct bt_cap_broadcast_source *broadcast_source);
485 int bt_cap_initiator_broadcast_audio_delete(struct bt_cap_broadcast_source *broadcast_source);
501 int bt_cap_initiator_broadcast_get_id(const struct bt_cap_broadcast_source *broadcast_source,
519 int bt_cap_initiator_broadcast_get_base(struct bt_cap_broadcast_source *broadcast_source,
574 struct bt_cap_broadcast_source *broadcast_source; member
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c46 struct bt_cap_broadcast_source *broadcast_source; variable
279 err = bt_cap_initiator_broadcast_audio_create(&create_param, &broadcast_source); in cap_initiator_setup()
285 err = bt_cap_initiator_broadcast_audio_start(broadcast_source, ext_adv); in cap_initiator_setup()
291 err = setup_extended_adv_data(broadcast_source, ext_adv); in cap_initiator_setup()
312 err = bt_cap_initiator_broadcast_audio_update(broadcast_source, in cap_initiator_setup()
323 err = bt_cap_initiator_broadcast_audio_stop(broadcast_source); in cap_initiator_setup()
330 err = bt_cap_initiator_broadcast_audio_delete(broadcast_source); in cap_initiator_setup()
335 broadcast_source = NULL; in cap_initiator_setup()
/Zephyr-Core-3.5.0/samples/bluetooth/broadcast_audio_source/src/
Dmain.c29 static struct bt_bap_broadcast_source *broadcast_source; variable
186 err = setup_broadcast_source(&broadcast_source); in main()
192 err = bt_bap_broadcast_source_get_id(broadcast_source, &broadcast_id); in main()
212 err = bt_bap_broadcast_source_get_base(broadcast_source, &base_buf); in main()
246 err = bt_bap_broadcast_source_start(broadcast_source, adv); in main()
271 err = bt_bap_broadcast_source_stop(broadcast_source); in main()
284 err = bt_bap_broadcast_source_delete(broadcast_source); in main()
290 broadcast_source = NULL; in main()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/test_scripts/
Dbap_broadcast_audio.sh19 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23
36 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dcap_initiator.c167 struct bt_cap_broadcast_source **broadcast_source) in bt_cap_initiator_broadcast_audio_create() argument
180 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_create()
191 *broadcast_source = &broadcast_sources[i]; in bt_cap_initiator_broadcast_audio_create()
200 &(*broadcast_source)->bap_broadcast); in bt_cap_initiator_broadcast_audio_create()
203 int bt_cap_initiator_broadcast_audio_start(struct bt_cap_broadcast_source *broadcast_source, in bt_cap_initiator_broadcast_audio_start() argument
211 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_start()
216 return bt_bap_broadcast_source_start(broadcast_source->bap_broadcast, adv); in bt_cap_initiator_broadcast_audio_start()
219 int bt_cap_initiator_broadcast_audio_update(struct bt_cap_broadcast_source *broadcast_source, in bt_cap_initiator_broadcast_audio_update() argument
222 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_update()
237 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.c297 ep->broadcast_source = source; in broadcast_source_setup_stream()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Daudio.h90 struct broadcast_source { struct
227 extern struct broadcast_source default_source;
283 static inline void copy_broadcast_source_preset(struct broadcast_source *source, in copy_broadcast_source_preset()
Dbap.c57 struct broadcast_source default_source;
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_bap.c112 static struct bt_bap_broadcast_source *broadcast_source; variable
1259 err = setup_broadcast_source(cp->streams_per_subgroup, cp->subgroups, &broadcast_source); in broadcast_source_setup()
1266 err = bt_bap_broadcast_source_get_id(broadcast_source, &broadcast_id); in broadcast_source_setup()
1296 err = bt_bap_broadcast_source_get_base(broadcast_source, &base_buf); in broadcast_source_setup()
1325 err = bt_bap_broadcast_source_delete(broadcast_source); in broadcast_source_release()
1333 broadcast_source = NULL; in broadcast_source_release()
1397 err = bt_bap_broadcast_source_start(broadcast_source, ext_adv); in broadcast_source_start()
1414 err = bt_bap_broadcast_source_stop(broadcast_source); in broadcast_source_stop()