Home
last modified time | relevance | path

Searched refs:adv_sid (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dbap_broadcast_assistant.c16 uint8_t adv_sid; member
96 inst->recv_states.adv_sid = param->adv_sid; in bt_bap_broadcast_assistant_add_src()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_broadcast_assistant.c61 uint8_t adv_sid; member
251 recv_state->adv_sid = net_buf_simple_pull_u8(&buf); in parse_recv_state()
361 recv_state->adv_sid); in parse_and_send_recv_state()
586 stored_state->adv_sid = recv_state.adv_sid; in read_recv_state_cb()
591 recv_state.adv_sid); in read_recv_state_cb()
926 uint32_t broadcast_id, uint8_t adv_sid, uint8_t addr_type) in broadcast_src_is_duplicate() argument
933 state->adv_sid == adv_sid && state->addr.type == addr_type) { in broadcast_src_is_duplicate()
959 inst->recv_states[i].adv_sid = BT_HCI_LE_EXT_ADV_SID_INVALID; in broadcast_assistant_reset()
1308 CHECKIF(param->adv_sid > BT_GAP_SID_MAX) { in valid_add_src_param()
1309 LOG_DBG("Invalid adv_sid %u", param->adv_sid); in valid_add_src_param()
[all …]
Dbap_internal.h61 uint8_t adv_sid; member
Dbap_scan_delegator.c135 state->adv_sid, state->broadcast_id, state->pa_sync_state, in bt_debug_dump_recv_state()
201 (void)net_buf_simple_add_u8(&read_buf, state->adv_sid); 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
476 state->state.adv_sid == adv_sid && state->state.addr.type == addr_type) { in bass_source_is_duplicate()
523 state->adv_sid = net_buf_simple_pull_u8(buf); in scan_delegator_add_source()
524 if (state->adv_sid > BT_GAP_SID_MAX) { in scan_delegator_add_source()
525 LOG_DBG("Invalid adv SID %u", state->adv_sid); 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()
1412 state->adv_sid = param->sid; in bt_bap_scan_delegator_add_src()
Dcap_internal.h101 uint8_t adv_sid; member
Dcap_commander.c110 add_src_param->adv_sid = start_param->adv_sid; in copy_broadcast_reception_start_param()
237 CHECKIF(start_param->adv_sid > BT_GAP_SID_MAX) { in valid_broadcast_reception_start_param()
378 stored_param->broadcast_reception_start.adv_sid = member_param->adv_sid; in bt_cap_commander_broadcast_reception_start()
Dbap_broadcast_sink.c95 recv_state->adv_sid == sync_info.sid) { in find_recv_state_by_pa_sync_cb()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_broadcast_assistant.c149 state->src_id, le_addr, state->adv_sid, state->broadcast_id, in bap_broadcast_assistant_recv_state_cb()
357 unsigned long adv_sid; in cmd_bap_broadcast_assistant_add_src() local
367 adv_sid = shell_strtoul(argv[3], 0, &result); in cmd_bap_broadcast_assistant_add_src()
374 if (adv_sid > BT_GAP_SID_MAX) { in cmd_bap_broadcast_assistant_add_src()
375 shell_error(sh, "Invalid adv_sid: %lu", adv_sid); in cmd_bap_broadcast_assistant_add_src()
380 param.adv_sid = adv_sid; in cmd_bap_broadcast_assistant_add_src()
569 param.adv_sid = info->sid; in scan_recv_cb()
952 param.adv_sid = pa_info.sid; in cmd_bap_broadcast_assistant_add_pa_sync()
Dcap_commander.c539 unsigned long adv_sid; in cmd_cap_commander_broadcast_reception_start() local
569 adv_sid = shell_strtoul(argv[3], 0, &err); in cmd_cap_commander_broadcast_reception_start()
576 if (adv_sid > BT_GAP_SID_MAX) { in cmd_cap_commander_broadcast_reception_start()
577 shell_error(sh, "Invalid adv_sid: %lu", adv_sid); in cmd_cap_commander_broadcast_reception_start()
582 member_param->adv_sid = adv_sid; in cmd_cap_commander_broadcast_reception_start()
Dbap_scan_delegator.c115 info->sid == sync_states[i].recv_state->adv_sid) { in sync_state_get_by_sync_info()
229 param.sid = recv_state->adv_sid; in pa_sync_no_past()
588 unsigned long adv_sid; in cmd_bap_scan_delegator_add_src() local
598 adv_sid = shell_strtoul(argv[3], 0, &err); in cmd_bap_scan_delegator_add_src()
605 if (adv_sid > BT_GAP_SID_MAX) { in cmd_bap_scan_delegator_add_src()
606 shell_error(sh, "Invalid adv_sid: %lu", adv_sid); in cmd_bap_scan_delegator_add_src()
611 param.sid = adv_sid; in cmd_bap_scan_delegator_add_src()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c338 static int pa_sync_without_past(const bt_addr_le_t *addr, uint8_t adv_sid, uint16_t pa_interval) in pa_sync_without_past() argument
345 param.sid = adv_sid; in pa_sync_without_past()
392 err = pa_sync_without_past(&recv_state->addr, recv_state->adv_sid, pa_interval); in pa_sync_req_cb()
515 info->sid == broadcast_sink.req_recv_state->adv_sid)) { in bap_pa_sync_synced_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_assistant_test.c136 state->src_id, le_addr, state->adv_sid, state->pa_sync_state, state->encrypt_state, in bap_broadcast_assistant_recv_state_cb()
440 add_src_param.adv_sid = g_broadcaster_info.sid; in test_bass_add_source()
Dcap_commander_test.c461 state->src_id, le_addr, state->adv_sid, state->pa_sync_state, state->encrypt_state, in bap_broadcast_assistant_recv_state_cb()
1004 reception_start_param.param[i].adv_sid = broadcaster_info.sid; in test_broadcast_reception_start()
Dbap_scan_delegator_test.c170 param.sid = recv_state->adv_sid; in pa_sync_no_past()
Dcap_acceptor_test.c356 broadcaster_info.sid = recv_state->adv_sid; in pa_sync_req_cb()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h931 uint8_t adv_sid; member
Dbap.h565 uint8_t adv_sid; member
2776 uint8_t adv_sid; member
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_broadcast_reception.c139 fixture->start_member_params[i].adv_sid = SID; in test_start_param_init()
347 fixture->start_param.param[0].adv_sid = BT_GAP_SID_MAX + 1; in ZTEST_F()
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap_broadcast_assistant.rst37 public/random> <adv_sid> <sync_pa> <broadcast_id>
Dcap.rst271 <type: public/random> <adv_sid> <broadcast_id>
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c867 ev->advertiser_sid = state->adv_sid; in btp_send_broadcast_receive_state_ev()
937 btp_send_pas_sync_req_ev(conn, recv_state->src_id, recv_state->adv_sid, in pa_sync_req_cb()
1428 param.adv_sid = cp->advertiser_sid; in btp_bap_broadcast_assistant_add_src()
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c657 param.adv_sid = selected_sid; in main()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c1134 info->sid == req_recv_state->adv_sid && in scan_check_and_sync_broadcast()
1226 info->sid == req_recv_state->adv_sid)) { in bap_pa_sync_synced_cb()
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_types.h2908 uint8_t adv_sid; member
3309 uint8_t adv_sid; member
/Zephyr-latest/subsys/bluetooth/host/
Dscan.c1472 per_adv_sync->sid = evt->adv_sid; in bt_hci_le_past_received_common()

12