/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_bap.h | 55 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 60 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 65 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 70 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 75 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 80 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 102 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 113 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 119 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member 143 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member [all …]
|
D | btp_cap.h | 94 uint8_t broadcast_id[3]; member 107 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 43 uint32_t broadcast_id; member 48 .broadcast_id = BT_BAP_INVALID_BROADCAST_ID, 52 uint32_t broadcast_id; member 105 uint32_t broadcast_id) in bap_broadcast_assistant_scan_cb() argument 113 le_addr, broadcast_id, BT_GAP_PER_ADV_INTERVAL_TO_MS(info->interval), in bap_broadcast_assistant_scan_cb() 149 state->src_id, le_addr, state->adv_sid, state->broadcast_id, in bap_broadcast_assistant_recv_state_cb() 356 unsigned long broadcast_id; in cmd_bap_broadcast_assistant_add_src() local 389 broadcast_id = shell_strtoul(argv[5], 0, &result); in cmd_bap_broadcast_assistant_add_src() 396 if (broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in cmd_bap_broadcast_assistant_add_src() 397 shell_error(sh, "Invalid broadcast_id: %lu", broadcast_id); in cmd_bap_broadcast_assistant_add_src() [all …]
|
D | bap_scan_delegator.c | 291 past_avail, recv_state->broadcast_id, pa_interval, in pa_sync_req_cb() 585 unsigned long broadcast_id; in cmd_bap_scan_delegator_add_src() local 613 broadcast_id = shell_strtoul(argv[4], 16, &err); in cmd_bap_scan_delegator_add_src() 620 if (broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in cmd_bap_scan_delegator_add_src() 621 shell_error(sh, "Invalid broadcast_id %lu", broadcast_id); in cmd_bap_scan_delegator_add_src() 682 param.broadcast_id = broadcast_id; in cmd_bap_scan_delegator_add_src() 704 unsigned long broadcast_id; in cmd_bap_scan_delegator_add_src_by_pa_sync() local 718 broadcast_id = shell_strtoul(argv[1], 16, &err); in cmd_bap_scan_delegator_add_src_by_pa_sync() 725 if (broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in cmd_bap_scan_delegator_add_src_by_pa_sync() 726 shell_error(sh, "Invalid broadcast_id %lu", broadcast_id); in cmd_bap_scan_delegator_add_src_by_pa_sync() [all …]
|
D | cap_commander.c | 538 unsigned long broadcast_id; in cmd_cap_commander_broadcast_reception_start() local 584 broadcast_id = shell_strtoul(argv[4], 0, &err); in cmd_cap_commander_broadcast_reception_start() 591 if (broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in cmd_cap_commander_broadcast_reception_start() 592 shell_error(sh, "Invalid broadcast_id: %lu", broadcast_id); in cmd_cap_commander_broadcast_reception_start() 597 member_param->broadcast_id = broadcast_id; in cmd_cap_commander_broadcast_reception_start()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 68 if (broadcaster->broadcast_id == BT_BAP_INVALID_BROADCAST_ID) { in remote_broadcaster_alloc() 77 uint32_t broadcast_id) in remote_broadcaster_find() argument 82 if (broadcaster->broadcast_id == broadcast_id && in remote_broadcaster_find() 105 static void btp_send_bis_syced_ev(const bt_addr_le_t *address, uint32_t broadcast_id, in btp_send_bis_syced_ev() argument 111 sys_put_le24(broadcast_id, ev.broadcast_id); in btp_send_bis_syced_ev() 136 btp_send_bis_syced_ev(&broadcaster->address, broadcaster->broadcast_id, b_stream->bis_id); in stream_started() 157 static void send_bis_stream_received_ev(const bt_addr_le_t *address, uint32_t broadcast_id, in send_bis_stream_received_ev() argument 168 sys_put_le24(broadcast_id, ev->broadcast_id); in send_bis_stream_received_ev() 198 broadcaster->broadcast_id, b_stream->bis_id, in stream_recv() 232 broadcaster->broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in remote_broadcaster_free() [all …]
|
D | btp_bap_broadcast.h | 29 uint32_t broadcast_id; member 44 uint32_t broadcast_id; member
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_sink/src/ |
D | main.c | 140 uint32_t broadcast_id) in sync_broadcast_pa() argument 163 bcast_id = broadcast_id; in sync_broadcast_pa() 170 uint32_t *broadcast_id = user_data; in scan_check_and_sync_broadcast() local 184 *broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast() 206 if (*broadcast_id == BT_BAP_INVALID_BROADCAST_ID) { in scan_check_and_sync_broadcast() 217 uint32_t broadcast_id; in broadcast_scan_recv() local 226 broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in broadcast_scan_recv() 227 bt_data_parse(ad, scan_check_and_sync_broadcast, (void *)&broadcast_id); in broadcast_scan_recv() 229 if ((broadcast_id != BT_BAP_INVALID_BROADCAST_ID) && pbs_found) { in broadcast_scan_recv() 230 sync_broadcast_pa(info, broadcast_id); in broadcast_scan_recv()
|
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/ |
D | bap_broadcast_sink.c | 131 uint32_t broadcast_id) in sync_broadcast_pa() argument 152 bcast_id = broadcast_id; in sync_broadcast_pa() 158 uint32_t *broadcast_id = user_data; in scan_check_and_sync_broadcast() local 170 *broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast() 202 uint32_t broadcast_id; in broadcast_scan_recv() local 212 broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in broadcast_scan_recv() 213 bt_data_parse(ad, scan_check_and_sync_broadcast, (void *)&broadcast_id); in broadcast_scan_recv() 215 if ((broadcast_id != BT_BAP_INVALID_BROADCAST_ID) && tmap_bms_found) { in broadcast_scan_recv() 216 sync_broadcast_pa(info, broadcast_id); in broadcast_scan_recv()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | pbp_public_broadcast_sink_test.c | 66 static uint32_t broadcast_id; variable 180 broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in reset() 269 if (broadcast_id == BT_BAP_INVALID_BROADCAST_ID) { in scan_check_and_sync_broadcast() 270 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast() 286 if (broadcast_id == BT_BAP_INVALID_BROADCAST_ID) { in scan_check_and_sync_broadcast() 308 bt_data_parse(ad, scan_check_and_sync_broadcast, (void *)&broadcast_id); in broadcast_scan_recv() 310 if ((broadcast_id != BT_BAP_INVALID_BROADCAST_ID) && pbs_found) { in broadcast_scan_recv() 359 err = bt_bap_broadcast_sink_create(bcast_pa_sync, broadcast_id, &broadcast_sink); in test_main()
|
D | bap_bass_broadcaster_test.c | 28 uint32_t broadcast_id = 1234; in test_main() local 34 BT_BYTES_LIST_LE24(broadcast_id)), in test_main()
|
D | pbp_public_broadcast_source_test.c | 108 uint32_t broadcast_id; in setup_extended_adv_data() local 111 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 119 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_broadcast.c | 133 uint32_t broadcast_id; in setup_extended_adv_data() local 137 broadcast_id = CONFIG_BROADCAST_ID; in setup_extended_adv_data() 139 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 148 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_broadcast.c | 63 uint32_t broadcast_id; member 141 LOG_INF("Creating broadcast sink for broadcast ID 0x%06X", broadcast_sink.broadcast_id); in create_broadcast_sink() 143 err = bt_bap_broadcast_sink_create(broadcast_sink.pa_sync, broadcast_sink.broadcast_id, in create_broadcast_sink() 400 broadcast_sink.broadcast_id = recv_state->broadcast_id; in pa_sync_req_cb() 585 uint32_t broadcast_id; in scan_check_and_sync_broadcast() local 604 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in scan_check_and_sync_broadcast() 608 printk("Found broadcaster with ID 0x%06X and addr %s and sid 0x%02X\n", broadcast_id, in scan_check_and_sync_broadcast() 623 broadcast_sink.broadcast_id = broadcast_id; in scan_check_and_sync_broadcast()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_broadcast_sink.c | 136 mod_src_param.broadcast_id = recv_state->broadcast_id; in update_recv_state_big_synced() 179 mod_src_param.broadcast_id = recv_state->broadcast_id; in update_recv_state_big_cleared() 427 broadcast_sinks[i].broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in broadcast_sink_free_get() 469 add_src_param.broadcast_id = sink->broadcast_id; in broadcast_sink_add_src() 541 mod_src_param.broadcast_id = recv_state->broadcast_id; in update_recv_state_base() 901 mod_src_param.broadcast_id = recv_state->broadcast_id; in update_recv_state_encryption() 1166 int bt_bap_broadcast_sink_create(struct bt_le_per_adv_sync *pa_sync, uint32_t broadcast_id, in bt_bap_broadcast_sink_create() argument 1178 CHECKIF(broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in bt_bap_broadcast_sink_create() 1179 LOG_DBG("Invalid broadcast_id: 0x%X", broadcast_id); in bt_bap_broadcast_sink_create() 1197 sink->broadcast_id = broadcast_id; in bt_bap_broadcast_sink_create() [all …]
|
D | bap_scan_delegator.c | 135 state->adv_sid, state->broadcast_id, state->pa_sync_state, in bt_debug_dump_recv_state() 202 (void)net_buf_simple_add_le24(&read_buf, state->broadcast_id); in net_buf_put_recv_state() 468 static bool bass_source_is_duplicate(uint32_t broadcast_id, uint8_t adv_sid, uint8_t addr_type) in bass_source_is_duplicate() argument 475 if (state != NULL && state->state.broadcast_id == broadcast_id && in bass_source_is_duplicate() 495 uint32_t broadcast_id; in scan_delegator_add_source() local 529 broadcast_id = net_buf_simple_pull_le24(buf); in scan_delegator_add_source() 531 if (bass_source_is_duplicate(broadcast_id, state->adv_sid, state->addr.type)) { in scan_delegator_add_source() 533 "result in duplication", state->broadcast_id, state->adv_sid, in scan_delegator_add_source() 539 state->broadcast_id = broadcast_id; in scan_delegator_add_source() 1334 if (param->broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in valid_bt_bap_scan_delegator_add_src_param() [all …]
|
D | bap_broadcast_assistant.c | 62 uint32_t broadcast_id; member 196 uint32_t broadcast_id) in bap_broadcast_assistant_scan_results() argument 202 listener->scan(info, broadcast_id); in bap_broadcast_assistant_scan_results() 252 recv_state->broadcast_id = net_buf_simple_pull_le24(&buf); in parse_recv_state() 587 stored_state->broadcast_id = recv_state.broadcast_id; in read_recv_state_cb() 876 uint32_t broadcast_id; in broadcast_source_found() local 894 broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in broadcast_source_found() 897 bt_addr_le_str(info->addr), info->sid, broadcast_id); in broadcast_source_found() 899 bap_broadcast_assistant_scan_results(info, broadcast_id); in broadcast_source_found() 926 uint32_t broadcast_id, uint8_t adv_sid, uint8_t addr_type) in broadcast_src_is_duplicate() argument [all …]
|
D | bap_internal.h | 62 uint8_t broadcast_id[BT_AUDIO_BROADCAST_ID_SIZE]; member
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/ |
D | main.c | 45 uint32_t broadcast_id; member 100 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in device_found() 300 sr_info.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_recv_cb() 310 if (sr_info.broadcast_id != BT_BAP_INVALID_BROADCAST_ID) { in scan_recv_cb() 314 printk(" Broadcast ID: 0x%06x\n\n", sr_info.broadcast_id); in scan_recv_cb() 341 printk("Selecting Broadcast ID: 0x%06x\n", sr_info.broadcast_id); in scan_recv_cb() 343 selected_broadcast_id = sr_info.broadcast_id; in scan_recv_cb() 659 param.broadcast_id = selected_broadcast_id; in main()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap_scan_delegator.rst | 30 add_src : Add a PA as source <addr> <sid> <broadcast_id> 32 add_src_by_pa_sync : Add a PA as source <broadcast_id> <enc_state> [bis_sync 34 mod_src : Modify source <src_id> <broadcast_id> <enc_state>
|
D | bap_broadcast_assistant.rst | 37 public/random> <adv_sid> <sync_pa> <broadcast_id> 39 add_broadcast_id : Add a source by broadcast ID <broadcast_id> <sync_pa> 41 add_pa_sync : Add a PA sync as a source <sync_pa> <broadcast_id>
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/ |
D | bap_broadcast_assistant.c | 17 uint32_t broadcast_id; member 97 inst->recv_states.broadcast_id = param->broadcast_id; in bt_bap_broadcast_assistant_add_src()
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/ |
D | main.c | 189 uint32_t broadcast_id; in setup_extended_adv_data() local 193 broadcast_id = CONFIG_BROADCAST_ID; in setup_extended_adv_data() 195 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 212 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 172 uint32_t broadcast_id; in setup_extended_adv_data() local 175 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data() 187 net_buf_simple_add_le24(&ad_buf, broadcast_id); in setup_extended_adv_data()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | bap.h | 574 uint32_t broadcast_id; member 2348 int bt_bap_broadcast_sink_create(struct bt_le_per_adv_sync *pa_sync, uint32_t broadcast_id, 2465 uint32_t broadcast_id; member 2498 uint32_t broadcast_id; member 2614 uint32_t broadcast_id); 2782 uint32_t broadcast_id; member
|