mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 01:13:23 +00:00
hfp: try next link setting for connection failure with explicit sco reject error
This commit is contained in:
parent
00ed8f02d4
commit
1579b82fa3
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
### Added
|
### Added
|
||||||
- GAP: support periodic advertising with ENABLE_LE_PERIODIC_ADVERTISING
|
- GAP: support periodic advertising with ENABLE_LE_PERIODIC_ADVERTISING
|
||||||
- GAP: support periodic inquiry mode with gap_inquiry_periodic_start
|
- GAP: support periodic inquiry mode with gap_inquiry_periodic_start
|
||||||
|
- HFP: try next link setting for SCO connection failure with explicit SCO reject error
|
||||||
- HFP HF: provide Calling Line Identification alpha field
|
- HFP HF: provide Calling Line Identification alpha field
|
||||||
- HFP HF: emit HFP_SUBEVENT_TRANSMIT_DTMF_CODES after sending DTMF command
|
- HFP HF: emit HFP_SUBEVENT_TRANSMIT_DTMF_CODES after sending DTMF command
|
||||||
|
|
||||||
|
@ -775,9 +775,11 @@ static int hfp_handle_failed_sco_connection(uint8_t status){
|
|||||||
|
|
||||||
log_info("(e)SCO Connection failed 0x%02x", status);
|
log_info("(e)SCO Connection failed 0x%02x", status);
|
||||||
switch (status){
|
switch (status){
|
||||||
case ERROR_CODE_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE:
|
case ERROR_CODE_SCO_AIR_MODE_REJECTED:
|
||||||
|
case ERROR_CODE_SCO_INTERVAL_REJECTED:
|
||||||
|
case ERROR_CODE_SCO_OFFSET_REJECTED:
|
||||||
case ERROR_CODE_UNSPECIFIED_ERROR:
|
case ERROR_CODE_UNSPECIFIED_ERROR:
|
||||||
case ERROR_CODE_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES:
|
case ERROR_CODE_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user