mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 10:21:12 +00:00
hfp_ag: send OK after SLC for HF that does not support 3-way-calling or HF Indicators
This commit is contained in:
parent
8c35a1166e
commit
880e8fc690
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
- ATT Server: support delayed read responses for registered services
|
||||
- ATT Server: allow to start crypto operation from delayed att read/write request
|
||||
- HFP HF: send HF Indicator update only if enabled by AG
|
||||
- HFP AG: send OK after SLC for HF that does not support 3-way-calling or HF Indicators
|
||||
- HSP HS: use EV3 and 2EV3 packets for 7.5 ms voice interval
|
||||
|
||||
### Changed
|
||||
|
@ -739,14 +739,16 @@ static int hfp_ag_run_for_context_service_level_connection(hfp_connection_t * hf
|
||||
if (hfp_connection->state != HFP_W4_ENABLE_INDICATORS_STATUS_UPDATE) break;
|
||||
if (has_call_waiting_and_3way_calling_feature(hfp_connection)){
|
||||
hfp_connection->state = HFP_W4_RETRIEVE_CAN_HOLD_CALL;
|
||||
hfp_ag_send_ok(hfp_connection->rfcomm_cid);
|
||||
} else if (has_hf_indicators_feature(hfp_connection)){
|
||||
hfp_connection->state = HFP_W4_LIST_GENERIC_STATUS_INDICATORS;
|
||||
hfp_ag_send_ok(hfp_connection->rfcomm_cid);
|
||||
} else {
|
||||
hfp_ag_send_ok(hfp_connection->rfcomm_cid);
|
||||
hfp_ag_slc_established(hfp_connection);
|
||||
}
|
||||
hfp_ag_send_ok(hfp_connection->rfcomm_cid);
|
||||
return 1;
|
||||
|
||||
|
||||
case HFP_CMD_SUPPORT_CALL_HOLD_AND_MULTIPARTY_SERVICES:
|
||||
if (hfp_connection->state != HFP_W4_RETRIEVE_CAN_HOLD_CALL) break;
|
||||
if (has_hf_indicators_feature(hfp_connection)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user