Commit 57faad75 authored by 王金亮's avatar 王金亮

feat:变更点1:修改屏蔽带“+”蓝牙电话策略,由屏蔽改为不屏蔽

parent efe3a649
...@@ -456,10 +456,16 @@ void bt_app_hf_client_cb(esp_hf_client_cb_event_t event, esp_hf_client_cb_param_ ...@@ -456,10 +456,16 @@ void bt_app_hf_client_cb(esp_hf_client_cb_event_t event, esp_hf_client_cb_param_
// call_timer = 0; // call_timer = 0;
// } // }
// break; // break;
if((strstr(param->clcc.number,"10000000") == NULL) && (strstr(param->clcc.number,"00000000") == NULL)) if((param->clcc.idx!=0)&&(param->clcc.number))
{ {
// printf("%s\n",param->clcc.number); if((strstr(param->clcc.number,"10000000") == NULL) && (strstr(param->clcc.number,"00000000") == NULL))
BT_User.Get_Call_Num = 1; {
// printf("%s\n",param->clcc.number);
// if (param->clcc.number[0] != '+')
{
BT_User.Get_Call_Num = 1;
}
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment