hci_remote_eSCO_supported -> hci_remote_esco_supported

This commit is contained in:
Matthias Ringwald 2016-02-11 16:06:27 +01:00
parent b83d5eab6c
commit a51cb0dfd4
5 changed files with 15 additions and 8 deletions

View File

@ -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))){

View File

@ -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))){

View File

@ -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 */

View File

@ -1,5 +0,0 @@
@@
expression dest, src;
@@
- bt_flip_addr(dest,src)
+ reverse_bd_addr(src, dest)

View 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)