Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
8c74398e
Commit
8c74398e
authored
Jun 10, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:同时发车速最大与4G满格
parent
874949d0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+1
-0
WMHComm.c
YueJin_test_bench/source/Appliciation/WMHComm.c
+1
-0
WMHComm.h
YueJin_test_bench/source/Appliciation/WMHComm.h
+1
-0
WMHCommData.c
YueJin_test_bench/source/Appliciation/WMHCommData.c
+3
-1
No files found.
YueJin_test_bench/source/Appliciation/Task.c
View file @
8c74398e
...
@@ -173,6 +173,7 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
...
@@ -173,6 +173,7 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
if
(
timee
>
10
)
if
(
timee
>
10
)
{
{
WMHCommFramePackedTransmit
(
EM_WMH_COMM_SEND_MSG_ICM_0x90
);
WMHCommFramePackedTransmit
(
EM_WMH_COMM_SEND_MSG_ICM_0x90
);
WMHCommFramePackedTransmit
(
EM_WMH_COMM_SEND_MSG_ICM_0x91
);
timee
=
0
;
timee
=
0
;
}
}
}
}
...
...
YueJin_test_bench/source/Appliciation/WMHComm.c
View file @
8c74398e
...
@@ -12,6 +12,7 @@ const WMH_COMM_INIT_FRAME_T WMHCommRecvInitList[EM_WMH_COMM_RECV_MSG_TOTAL] = {
...
@@ -12,6 +12,7 @@ const WMH_COMM_INIT_FRAME_T WMHCommRecvInitList[EM_WMH_COMM_RECV_MSG_TOTAL] = {
const
WMH_COMM_INIT_FRAME_T
WMHCommSendInitList
[
EM_WMH_COMM_SEND_MSG_TOTAL
]
=
{
const
WMH_COMM_INIT_FRAME_T
WMHCommSendInitList
[
EM_WMH_COMM_SEND_MSG_TOTAL
]
=
{
// {0x80u, 1000u, COMM_DATA_UNION_ICM_LENGTH, 1000u, 1u, WMHCommDataIcm.Bytes, WMHCommFrameCallBack_Icm, WMHCommFrameTimeoutFunc_Icm, WMHCommFrameCheckSumFunc},
// {0x80u, 1000u, COMM_DATA_UNION_ICM_LENGTH, 1000u, 1u, WMHCommDataIcm.Bytes, WMHCommFrameCallBack_Icm, WMHCommFrameTimeoutFunc_Icm, WMHCommFrameCheckSumFunc},
{
0x90u
,
1000u
,
COMM_DATA_UNION_WI_BOX_LENGTH_0X90
,
1000u
,
1u
,
WMHCommDataWiBox_0x90
.
Bytes
,
WMHCommFrameCallBack_Icm
,
WMHCommFrameTimeoutFunc_WiBox
,
WMHCommFrameCheckSumFunc
},
{
0x90u
,
1000u
,
COMM_DATA_UNION_WI_BOX_LENGTH_0X90
,
1000u
,
1u
,
WMHCommDataWiBox_0x90
.
Bytes
,
WMHCommFrameCallBack_Icm
,
WMHCommFrameTimeoutFunc_WiBox
,
WMHCommFrameCheckSumFunc
},
{
0x91u
,
1000u
,
COMM_DATA_UNION_WI_BOX_LENGTH_0X91
,
1000u
,
1u
,
WMHCommDataWiBox_0x91
.
Bytes
,
WMHCommFrameCallBack_Icm
,
WMHCommFrameTimeoutFunc_WiBox
,
WMHCommFrameCheckSumFunc
},
};
};
uint32_t
WMHCommRecvMessageTimeout
[
EM_WMH_COMM_RECV_MSG_TOTAL
]
=
{
0
};
uint32_t
WMHCommRecvMessageTimeout
[
EM_WMH_COMM_RECV_MSG_TOTAL
]
=
{
0
};
...
...
YueJin_test_bench/source/Appliciation/WMHComm.h
View file @
8c74398e
...
@@ -26,6 +26,7 @@ typedef enum {
...
@@ -26,6 +26,7 @@ typedef enum {
typedef
enum
{
typedef
enum
{
// EM_WMH_COMM_SEND_MSG_ICM_0x80 = 0,
// EM_WMH_COMM_SEND_MSG_ICM_0x80 = 0,
EM_WMH_COMM_SEND_MSG_ICM_0x90
=
0
,
EM_WMH_COMM_SEND_MSG_ICM_0x90
=
0
,
EM_WMH_COMM_SEND_MSG_ICM_0x91
,
EM_WMH_COMM_SEND_MSG_TOTAL
,
EM_WMH_COMM_SEND_MSG_TOTAL
,
}
EM_WMH_COMM_SEND_MSG_T
;
}
EM_WMH_COMM_SEND_MSG_T
;
...
...
YueJin_test_bench/source/Appliciation/WMHCommData.c
View file @
8c74398e
...
@@ -36,7 +36,7 @@ void WMHCommFrameCallBack_WiBox_0x92(void)
...
@@ -36,7 +36,7 @@ void WMHCommFrameCallBack_WiBox_0x92(void)
uint8_t
tmpCond
=
0
;
uint8_t
tmpCond
=
0
;
if
((
WMHCommDataWiBox_0x92
.
bits
.
Inquire
==
0
)
||
(
WMHCommDataWiBox_0x92
.
bits
.
NfcOperate
==
0
))
if
((
WMHCommDataWiBox_0x92
.
bits
.
Inquire
==
0
)
||
(
WMHCommDataWiBox_0x92
.
bits
.
NfcOperate
==
0
))
{
{
WMHCommFramePackedTransmit
(
EM_WMH_COMM_SEND_MSG_ICM_0x9
0
);
WMHCommFramePackedTransmit
(
EM_WMH_COMM_SEND_MSG_ICM_0x9
1
);
}
}
}
}
...
@@ -76,6 +76,8 @@ void WMHCommFrameCallBack_Icm(void)
...
@@ -76,6 +76,8 @@ void WMHCommFrameCallBack_Icm(void)
WMHCommDataWiBox_0x90
.
bits
.
Espeed_H
=
0xEE
;
WMHCommDataWiBox_0x90
.
bits
.
Espeed_H
=
0xEE
;
WMHCommDataWiBox_0x90
.
bits
.
Espeed_L
=
0xDD
;
WMHCommDataWiBox_0x90
.
bits
.
Espeed_L
=
0xDD
;
WMHCommDataWiBox_0x91
.
bits
.
SignalStrengthOf4G
=
5
;
// //if(WMHCommDataWiBox_0x92.bits.Inquire == 0x11)
// //if(WMHCommDataWiBox_0x92.bits.Inquire == 0x11)
// {
// {
// if (tmpVal > 9999999) {
// if (tmpVal > 9999999) {
...
...
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