Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
QJ_500-7c
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
QJ_500-7c
Commits
5abe4307
Commit
5abe4307
authored
Oct 29, 2024
by
王金亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改鸿蒙系统,拨打微信电话,电话图标会闪的bug
parent
5c2b7039
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
10 deletions
+32
-10
app_Ble_User.c
qianjiang/main/app_Ble_User.c
+16
-1
bt_app_hf.c
qianjiang/main/bt_app_hf.c
+8
-3
main_user.h
qianjiang/main/main_user.h
+2
-2
sdkconfig
qianjiang/sdkconfig
+6
-4
No files found.
qianjiang/main/app_Ble_User.c
View file @
5abe4307
...
@@ -669,6 +669,7 @@ void Ble_User_Task_Event(void *pvParameter)
...
@@ -669,6 +669,7 @@ void Ble_User_Task_Event(void *pvParameter)
vTaskDelete
(
NULL
);
vTaskDelete
(
NULL
);
}
}
uint8_t
BT_User_HfClient_Req_Cnt
;
void
Ble_User_Task_Cyc
(
void
*
pvParameter
)
void
Ble_User_Task_Cyc
(
void
*
pvParameter
)
{
{
while
(
1
)
while
(
1
)
...
@@ -684,8 +685,22 @@ void Ble_User_Task_Cyc(void *pvParameter)
...
@@ -684,8 +685,22 @@ void Ble_User_Task_Cyc(void *pvParameter)
}
}
Get_Iphone_Fitter_callsts
();
Get_Iphone_Fitter_callsts
();
Ble_MsgRec_Navi_Timeout
();
Ble_MsgRec_Navi_Timeout
();
esp_hf_client_query_current_calls
();
if
(
BT_User
.
Call_Sts
!=
Call_Idle
)
{
if
(
BT_User_HfClient_Req_Cnt
++
>=
15
)
{
BT_User_HfClient_Req_Cnt
=
0
;
esp_hf_client_query_current_calls
();
}
}
else
{
BT_User_HfClient_Req_Cnt
=
0
;
}
BT_User_Process
();
BT_User_Process
();
if
(
Wifi_OTA_Request
!=
0
)
if
(
Wifi_OTA_Request
!=
0
)
...
...
qianjiang/main/bt_app_hf.c
View file @
5abe4307
...
@@ -456,8 +456,9 @@ void bt_app_hf_client_cb(esp_hf_client_cb_event_t event, esp_hf_client_cb_param_
...
@@ -456,8 +456,9 @@ 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
)
if
(
(
strstr
(
param
->
clcc
.
number
,
"10000000"
)
==
NULL
)
&&
(
strstr
(
param
->
clcc
.
number
,
"00000000"
)
==
NULL
)
)
{
{
// printf("%s\n",param->clcc.number);
BT_User
.
Get_Call_Num
=
1
;
BT_User
.
Get_Call_Num
=
1
;
}
}
}
}
...
@@ -508,7 +509,7 @@ void bt_app_hf_client_cb(esp_hf_client_cb_event_t event, esp_hf_client_cb_param_
...
@@ -508,7 +509,7 @@ void bt_app_hf_client_cb(esp_hf_client_cb_event_t event, esp_hf_client_cb_param_
break
;
break
;
}
}
}
}
// uint8_t lasttest;
void
Get_Iphone_Fitter_callsts
(
void
)
void
Get_Iphone_Fitter_callsts
(
void
)
{
{
if
(
BT_User
.
Call_Sts
==
Call_Idle
)
if
(
BT_User
.
Call_Sts
==
Call_Idle
)
...
@@ -527,7 +528,11 @@ void Get_Iphone_Fitter_callsts(void )
...
@@ -527,7 +528,11 @@ void Get_Iphone_Fitter_callsts(void )
BT_User
.
Call_Fitter_sts
=
Call_Idle
;
BT_User
.
Call_Fitter_sts
=
Call_Idle
;
}
}
}
}
// printf("%d\n",BT_User.Call_Fitter_sts);
// if(BT_User.Call_Fitter_sts != lasttest)
// printf("%d\n",BT_User.Call_Fitter_sts);
// lasttest = BT_User.Call_Fitter_sts;
}
}
...
...
qianjiang/main/main_user.h
View file @
5abe4307
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
#define _MAIN_USER_H_
#define _MAIN_USER_H_
#define BL_INTERNAL_SW_YEAR 0x24
#define BL_INTERNAL_SW_YEAR 0x24
#define BL_INTERNAL_SW_MONTH 0x
08
#define BL_INTERNAL_SW_MONTH 0x
10
#define BL_INTERNAL_SW_DAY 0x
03
#define BL_INTERNAL_SW_DAY 0x
29
#endif
#endif
\ No newline at end of file
qianjiang/sdkconfig
View file @
5abe4307
...
@@ -1335,16 +1335,18 @@ CONFIG_HEAP_TRACING_OFF=y
...
@@ -1335,16 +1335,18 @@ CONFIG_HEAP_TRACING_OFF=y
# Log output
# Log output
#
#
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
# CONFIG_LOG_DEFAULT_LEVEL_INFO is not set
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
CONFIG_LOG_DEFAULT_LEVEL=
3
CONFIG_LOG_DEFAULT_LEVEL=
1
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
# CONFIG_LOG_MAXIMUM_LEVEL_WARN is not set
# CONFIG_LOG_MAXIMUM_LEVEL_INFO is not set
# CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set
# CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set
# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set
# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set
CONFIG_LOG_MAXIMUM_LEVEL=
3
CONFIG_LOG_MAXIMUM_LEVEL=
1
CONFIG_LOG_COLORS=y
CONFIG_LOG_COLORS=y
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment