HFP: Workaround for car kits that do not send AT+BAC command
* Some misbehaving HF devices (e.g. some Hyundai car kits) indicate their support on Wide Band Speech and Codec Negotiation, but do not send the required AT+BAC command during Service Level Connection setup. However, such car kits still expect Fluoride to do codec negotiation during SCO setup. * This CL adds a workaround so that when HF indicates support for WBS and codec negotiation, Fluoride will attempt codec negotiation even though AT+BAC is never received. * Store the SDP feature locally. If WBS is supported and no AT+BAC is received, use the SDP features to set the suported codec. Bug: 77883405 Test: make, connect SCO to and from Hyundai car kits Change-Id: I2be6007022183cac5b9006f37089a587b4a67372 (cherry picked from commit e42cf153f8cc9f2b80153aa3eb7c0be04f3c326f)
Loading
Please register or sign in to comment