Home
last modified time | relevance | path

Searched refs:pa_sync_state (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dbap_broadcast_assistant.c28 enum bt_bap_pa_state pa_sync_state; member
98 inst->pa_sync_state = param->pa_sync; in bt_bap_broadcast_assistant_add_src()
100 state.pa_sync_state = param->pa_sync; in bt_bap_broadcast_assistant_add_src()
135 state.pa_sync_state = param->pa_sync ? BT_BAP_PA_STATE_SYNCED : BT_BAP_PA_STATE_NOT_SYNCED; in bt_bap_broadcast_assistant_mod_src()
138 inst->pa_sync_state = param->pa_sync; in bt_bap_broadcast_assistant_mod_src()
167 zassert_equal(BT_BAP_PA_STATE_NOT_SYNCED, inst->pa_sync_state, "Invalid sync state"); in bt_bap_broadcast_assistant_rem_src()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_scan_delegator.c135 state->adv_sid, state->broadcast_id, state->pa_sync_state, in bt_debug_dump_recv_state()
203 (void)net_buf_simple_add_u8(&read_buf, state->pa_sync_state); in net_buf_put_recv_state()
382 if (internal_state->state.pa_sync_state != BT_BAP_PA_STATE_SYNCED) { in pa_synced()
383 internal_state->state.pa_sync_state = BT_BAP_PA_STATE_SYNCED; in pa_synced()
401 if (internal_state->state.pa_sync_state != BT_BAP_PA_STATE_NOT_SYNCED) { in pa_terminated()
402 internal_state->state.pa_sync_state = BT_BAP_PA_STATE_NOT_SYNCED; in pa_terminated()
825 state->pa_sync_state != BT_BAP_PA_STATE_SYNCED) { in scan_delegator_mod_src()
826 const uint8_t pa_sync_state = state->pa_sync_state; in scan_delegator_mod_src() local
839 } else if (pa_sync_state != state->pa_sync_state) { in scan_delegator_mod_src()
847 (state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ || in scan_delegator_mod_src()
[all …]
Dbap_broadcast_assistant.c253 recv_state->pa_sync_state = net_buf_simple_pull_u8(&buf); in parse_recv_state()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_scan_delegator.c179 if (state->recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_timer_handler()
304 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_SYNCED || in pa_sync_req_cb()
305 recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_sync_req_cb()
940 unsigned long pa_sync_state; in cmd_bap_scan_delegator_bis_synced() local
958 pa_sync_state = shell_strtoul(argv[2], 0, &result); in cmd_bap_scan_delegator_bis_synced()
965 if (pa_sync_state > BT_BAP_PA_STATE_NO_PAST) { in cmd_bap_scan_delegator_bis_synced()
966 shell_error(sh, "Invalid pa_sync_state %s", bt_bap_pa_state_str(pa_sync_state)); in cmd_bap_scan_delegator_bis_synced()
Dbap_broadcast_assistant.c150 state->pa_sync_state, state->encrypt_state, is_bad_code ? ", bad code" : "", in bap_broadcast_assistant_recv_state_cb()
166 if (state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in bap_broadcast_assistant_recv_state_cb()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c272 if (broadcast_sink.req_recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_timer_handler()
367 recv_state->pa_sync_state); in pa_sync_req_cb()
371 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_SYNCED || in pa_sync_req_cb()
372 recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ || in pa_sync_req_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()
178 if (state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in bap_broadcast_assistant_recv_state_cb()
188 if (state->pa_sync_state == BT_BAP_PA_STATE_SYNCED) { in bap_broadcast_assistant_recv_state_cb()
Dbap_scan_delegator_test.c121 if (state->recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_timer_handler()
262 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_SYNCED || in pa_sync_req_cb()
263 recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_sync_req_cb()
Dbap_broadcast_sink_test.c377 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_SYNCED || in pa_sync_req_cb()
378 recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_sync_req_cb()
394 if (pa_sync == NULL || recv_state->pa_sync_state == BT_BAP_PA_STATE_NOT_SYNCED) { in pa_sync_term_req_cb()
Dcap_acceptor_test.c346 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_SYNCED || in pa_sync_req_cb()
347 recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_sync_req_cb()
367 if (pa_sync == NULL || recv_state->pa_sync_state == BT_BAP_PA_STATE_NOT_SYNCED) { in pa_sync_term_req_cb()
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()
492 if (state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in bap_broadcast_assistant_recv_state_cb()
501 if (state->pa_sync_state == BT_BAP_PA_STATE_SYNCED) { in bap_broadcast_assistant_recv_state_cb()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c839 if (req_recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_timer_handler()
900 recv_state->pa_sync_state, recv_state->encrypt_state); in recv_state_updated_cb()
915 recv_state->pa_sync_state); in pa_sync_req_cb()
919 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_SYNCED || in pa_sync_req_cb()
920 recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_sync_req_cb()
957 printk("PA sync termination req, pa sync state: %u\n", recv_state->pa_sync_state); in pa_sync_term_req_cb()
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_bap.h262 uint8_t pa_sync_state; member
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c774 if (recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_timer_handler()
869 ev->pa_sync_state = state->pa_sync_state; in btp_send_broadcast_receive_state_ev()
917 LOG_DBG("sync state %d ", recv_state->pa_sync_state); in pa_sync_req_cb()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h568 enum bt_bap_pa_state pa_sync_state; member