mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 15:40:11 +00:00
hci_remote_eSCO_supported -> hci_remote_esco_supported
This commit is contained in:
parent
b83d5eab6c
commit
a51cb0dfd4
@ -602,7 +602,7 @@ static int codecs_exchange_state_machine(hfp_connection_t * context){
|
||||
static void hfp_init_link_settings(hfp_connection_t * context){
|
||||
// determine highest possible link setting
|
||||
context->link_setting = HFP_LINK_SETTINGS_D1;
|
||||
if (hci_remote_eSCO_supported(context->con_handle)){
|
||||
if (hci_remote_esco_supported(context->con_handle)){
|
||||
context->link_setting = HFP_LINK_SETTINGS_S3;
|
||||
if ((context->remote_supported_features & (1<<HFP_HFSF_ESCO_S4))
|
||||
&& (hfp_supported_features & (1<<HFP_AGSF_ESCO_S4))){
|
||||
|
@ -780,7 +780,7 @@ static void hfp_run_for_context(hfp_connection_t * context){
|
||||
static void hfp_init_link_settings(hfp_connection_t * context){
|
||||
// determine highest possible link setting
|
||||
context->link_setting = HFP_LINK_SETTINGS_D1;
|
||||
if (hci_remote_eSCO_supported(context->con_handle)){
|
||||
if (hci_remote_esco_supported(context->con_handle)){
|
||||
context->link_setting = HFP_LINK_SETTINGS_S3;
|
||||
if ((hfp_supported_features & (1<<HFP_HFSF_ESCO_S4))
|
||||
&& (context->remote_supported_features & (1<<HFP_AGSF_ESCO_S4))){
|
||||
|
@ -739,7 +739,7 @@ void hci_disconnect_security_block(hci_con_handle_t con_handle);
|
||||
int hci_send_cmd_packet(uint8_t *packet, int size);
|
||||
|
||||
// query if remote side supports eSCO
|
||||
int hci_remote_eSCO_supported(hci_con_handle_t con_handle);
|
||||
int hci_remote_esco_supported(hci_con_handle_t con_handle);
|
||||
|
||||
/* API_START */
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
@@
|
||||
expression dest, src;
|
||||
@@
|
||||
- bt_flip_addr(dest,src)
|
||||
+ reverse_bd_addr(src, dest)
|
12
tool/conversion_to_1.0.cocci
Normal file
12
tool/conversion_to_1.0.cocci
Normal file
@ -0,0 +1,12 @@
|
||||
@@
|
||||
expression dest, src;
|
||||
@@
|
||||
- bt_flip_addr(dest,src)
|
||||
+ reverse_bd_addr(src, dest)
|
||||
|
||||
@@
|
||||
expression handle;
|
||||
@@
|
||||
- hci_remote_eSCO_supported(handle)
|
||||
+ hci_remote_esco_supported(handle)
|
||||
|
Loading…
x
Reference in New Issue
Block a user