Home
last modified time | relevance | path

Searched refs:recv_states (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dbap_broadcast_assistant.c23 struct bap_broadcast_assistant_recv_state_info recv_states; member
94 inst->recv_states.src_id = max_src_id; in bt_bap_broadcast_assistant_add_src()
95 inst->recv_states.past_avail = false; in bt_bap_broadcast_assistant_add_src()
96 inst->recv_states.adv_sid = param->adv_sid; in bt_bap_broadcast_assistant_add_src()
97 inst->recv_states.broadcast_id = param->broadcast_id; in bt_bap_broadcast_assistant_add_src()
108 bt_addr_le_copy(&inst->recv_states.addr, &param->addr); in bt_bap_broadcast_assistant_add_src()
137 inst->recv_states.src_id = param->src_id; in bt_bap_broadcast_assistant_mod_src()
166 zassert_equal(src_id, inst->recv_states.src_id, "Invalid src_id"); in bt_bap_broadcast_assistant_rem_src()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_scan_delegator.c81 struct bass_recv_state_internal recv_states member
272 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in scan_delegator_security_changed()
274 &scan_delegator.recv_states[i]; in scan_delegator_security_changed()
306 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in next_src_id()
307 if (scan_delegator.recv_states[i].active && in next_src_id()
308 scan_delegator.recv_states[i].state.src_id == next_src_id) { in next_src_id()
320 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in bass_lookup_src_id()
321 if (scan_delegator.recv_states[i].active && in bass_lookup_src_id()
322 scan_delegator.recv_states[i].state.src_id == src_id) { in bass_lookup_src_id()
323 return &scan_delegator.recv_states[i]; in bass_lookup_src_id()
[all …]
Dbap_broadcast_assistant.c103 recv_states[CONFIG_BT_BAP_BROADCAST_ASSISTANT_RECV_STATE_COUNT]; member
359 inst->recv_states[index].src_id = recv_state->src_id; in parse_and_send_recv_state()
360 inst->recv_states[index].past_avail = past_available(conn, &recv_state->addr, in parse_and_send_recv_state()
540 inst->recv_states[index].past_avail = false; in notify_handler()
541 bap_broadcast_assistant_recv_state_removed(conn, inst->recv_states[index].src_id); in notify_handler()
583 &inst->recv_states[index]; in read_recv_state_cb()
589 inst->recv_states[index].past_avail = in read_recv_state_cb()
928 for (size_t i = 0; i < ARRAY_SIZE(inst->recv_states); i++) { in broadcast_src_is_duplicate()
930 &inst->recv_states[i]; in broadcast_src_is_duplicate()
957 memset(&inst->recv_states[i], 0, sizeof(inst->recv_states[i])); in broadcast_assistant_reset()
[all …]