mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-28 18:32:41 +00:00
hsp_hs: use EV3 and 2EV3 packets for 7.5 ms voice interval
This commit is contained in:
parent
ed2083442e
commit
26bb3782a7
@ -17,6 +17,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
|
||||
- HSP HS: use EV3 and 2EV3 packets for 7.5 ms voice interval
|
||||
|
||||
### Changed
|
||||
- HCI: hci_reserved_packet_buffer and higher layer functions asserts if packet buffer is free instead of return value
|
||||
|
@ -461,9 +461,9 @@ static void hsp_run(void){
|
||||
// pick packet types based on SCO link type (SCO vs. eSCO)
|
||||
uint16_t packet_types;
|
||||
if (eSCO && hci_extended_sco_link_supported() && hci_remote_esco_supported(hsp_hs_rfcomm_handle)){
|
||||
packet_types = 0x3F8;
|
||||
packet_types = SCO_PACKET_TYPES_EV3 | SCO_PACKET_TYPES_2EV3;
|
||||
} else {
|
||||
packet_types = 0x0007;
|
||||
packet_types = SCO_PACKET_TYPES_HV3 | SCO_PACKET_TYPES_HV2 | SCO_PACKET_TYPES_HV1;
|
||||
}
|
||||
|
||||
// packet type override
|
||||
|
Loading…
x
Reference in New Issue
Block a user