Searched refs:call_state (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | hfp_ag.c | 166 static void bt_hfp_ag_set_call_state(struct bt_hfp_ag *ag, bt_hfp_call_state_t call_state) in bt_hfp_ag_set_call_state() argument 170 LOG_DBG("update call state %p, old %d -> new %d", ag, ag->call_state, call_state); in bt_hfp_ag_set_call_state() 173 ag->call_state = call_state; in bt_hfp_ag_set_call_state() 177 switch (call_state) { in bt_hfp_ag_set_call_state() 846 bt_hfp_call_state_t call_state; in bt_hfp_ag_chup_handler() local 853 call_state = ag->call_state; in bt_hfp_ag_chup_handler() 856 if (call_state == BT_HFP_CALL_ALERTING) { in bt_hfp_ag_chup_handler() 861 } else if ((call_state == BT_HFP_CALL_ACTIVE) || (call_state == BT_HFP_CALL_HOLD)) { in bt_hfp_ag_chup_handler() 874 switch (ag->call_state) { in bt_hfp_get_call_state() 917 if (ag->call_state == BT_HFP_CALL_TERMINATE) { in bt_hfp_ag_clcc_handler() [all …]
|
D | hfp_ag_internal.h | 88 bt_hfp_call_state_t call_state; member
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | tbs_client_test.c | 25 static volatile uint8_t call_state; variable 64 call_state = call_states[0].state; in tbs_client_call_states_cb() 65 printk("call index %u - state %u\n", call_index, call_state); in tbs_client_call_states_cb() 323 .call_state = tbs_client_call_states_cb, 534 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_REMOTELY_HELD); in test_main() 546 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_LOCALLY_HELD); in test_main() 554 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_ACTIVE); in test_main()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs.c | 821 uint8_t call_state; in hold_other_calls() local 834 call_state = inst->calls[i].state; in hold_other_calls() 835 if (call_state == BT_TBS_CALL_STATE_ACTIVE) { in hold_other_calls() 838 } else if (call_state == BT_TBS_CALL_STATE_REMOTELY_HELD) { in hold_other_calls() 975 uint8_t call_state; in join_calls() local 1002 call_state = joined_calls[i]->state; in join_calls() 1004 if (call_state == BT_TBS_CALL_STATE_INCOMING) { in join_calls() 1008 if (call_state != BT_TBS_CALL_STATE_LOCALLY_HELD && in join_calls() 1009 call_state != BT_TBS_CALL_STATE_LOCALLY_AND_REMOTELY_HELD && in join_calls() 1010 call_state != BT_TBS_CALL_STATE_ACTIVE) { in join_calls() [all …]
|
D | tbs_client.c | 191 struct bt_tbs_client_call_state *call_state) in net_buf_pull_call_state() argument 193 if (buf->len < sizeof(*call_state)) { in net_buf_pull_call_state() 198 call_state->index = net_buf_simple_pull_u8(buf); in net_buf_pull_call_state() 199 call_state->state = net_buf_simple_pull_u8(buf); in net_buf_pull_call_state() 200 call_state->flags = net_buf_simple_pull_u8(buf); in net_buf_pull_call_state() 538 if (listener->call_state != NULL) { in call_state_changed() 539 listener->call_state(conn, err, inst_index, call_count, call_states); in call_state_changed() 559 struct bt_tbs_client_call_state *call_state; in call_state_notify_handler() local 567 call_state = &call_states[cnt]; in call_state_notify_handler() 569 err = net_buf_pull_call_state(&buf, call_state); in call_state_notify_handler() [all …]
|
D | tbs_internal.h | 286 uint8_t call_state; member
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 153 .call_state = call_state_cb,
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_ccp.h | 184 uint16_t call_state; member
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_ccp.c | 92 ev.call_state = sys_cpu_to_le16(tbs_handles->call_state); in tbs_chrc_handles_ev() 255 tbs_handles.call_state = tbs_inst->call_state_sub_params.value_handle; in tbs_client_read_val_cb() 286 .call_state = tbs_client_call_states_cb,
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | tbs.h | 761 bt_tbs_client_call_states_cb call_state; member
|