Searched refs:call_state (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/ |
D | tbs_client_test.c | 17 static volatile uint8_t call_state; variable 56 call_state = call_states[0].state; in tbs_client_call_states_cb() 57 printk("call index %u - state %u\n", call_index, call_state); in tbs_client_call_states_cb() 319 .call_state = tbs_client_call_states_cb, 515 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_REMOTELY_HELD); in test_main() 527 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_LOCALLY_HELD); in test_main() 535 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_ACTIVE); in test_main()
|
D | tbs_test.c | 14 static volatile uint8_t call_state; variable
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | tbs_client.c | 179 struct bt_tbs_client_call_state *call_state) in net_buf_pull_call_state() argument 181 if (buf->len < sizeof(*call_state)) { in net_buf_pull_call_state() 186 call_state->index = net_buf_simple_pull_u8(buf); in net_buf_pull_call_state() 187 call_state->state = net_buf_simple_pull_u8(buf); in net_buf_pull_call_state() 188 call_state->flags = net_buf_simple_pull_u8(buf); in net_buf_pull_call_state() 469 struct bt_tbs_client_call_state *call_state; in call_state_notify_handler() local 477 call_state = &call_states[cnt]; in call_state_notify_handler() 479 err = net_buf_pull_call_state(&buf, call_state); in call_state_notify_handler() 488 if (tbs_client_cbs != NULL && tbs_client_cbs->call_state != NULL) { in call_state_notify_handler() 489 tbs_client_cbs->call_state(conn, 0, tbs_index(conn, tbs_inst), cnt, call_states); in call_state_notify_handler() [all …]
|
D | tbs.c | 916 uint8_t call_state; in hold_other_calls() local 929 call_state = inst->calls[i].state; in hold_other_calls() 930 if (call_state == BT_TBS_CALL_STATE_ACTIVE) { in hold_other_calls() 933 } else if (call_state == BT_TBS_CALL_STATE_REMOTELY_HELD) { in hold_other_calls() 1099 uint8_t call_state; in join_calls() local 1127 call_state = joined_calls[i]->state; in join_calls() 1129 if (call_state == BT_TBS_CALL_STATE_INCOMING) { in join_calls() 1133 if (call_state != BT_TBS_CALL_STATE_LOCALLY_HELD && in join_calls() 1134 call_state != BT_TBS_CALL_STATE_LOCALLY_AND_REMOTELY_HELD && in join_calls() 1135 call_state != BT_TBS_CALL_STATE_ACTIVE) { in join_calls() [all …]
|
D | tbs_internal.h | 279 uint8_t call_state; member
|
/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 152 .call_state = call_state_cb,
|
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/ |
D | btp_ccp.c | 211 .call_state = tbs_client_call_states_cb,
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/ |
D | tbs.h | 505 bt_tbs_client_call_states_cb call_state; member
|