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
a7f134b1
Commit
a7f134b1
authored
Jun 25, 2025
by
huangguoqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:NFC学卡模式不发送车速
parent
8f7e2b24
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
CAN_APP.c
YueJin_test_bench/source/Appliciation/CAN_APP.c
+7
-2
RSCAN.c
YueJin_test_bench/source/Driver/CAN/RSCAN.c
+4
-10
Option.properties
...st_bench/utility/诊断工具1.10.11 x64/Option/Option.properties
+3
-3
No files found.
YueJin_test_bench/source/Appliciation/CAN_APP.c
View file @
a7f134b1
...
@@ -54,7 +54,11 @@ void Can_Set_Buff_200(uint8_t CopyData [])
...
@@ -54,7 +54,11 @@ void Can_Set_Buff_200(uint8_t CopyData [])
}
}
}
}
pCANMsg
->
Sig
.
Vspeeed
=
Vspeed
;
if
(
Student_Card_can_command
==
0
)
{
pCANMsg
->
Sig
.
Vspeeed
=
Vspeed
;
}
}
}
void
Can_Set_Buff_481
(
uint8_t
CopyData
[])
void
Can_Set_Buff_481
(
uint8_t
CopyData
[])
...
@@ -521,7 +525,8 @@ void Can_Set_Buff_786(uint8_t CopyData [])
...
@@ -521,7 +525,8 @@ void Can_Set_Buff_786(uint8_t CopyData [])
pCANMsg
->
Msg
[
i
]
=
Data_786_4
[
i
];
pCANMsg
->
Msg
[
i
]
=
Data_786_4
[
i
];
}
}
Diagnosis_banbenhao_flag_
=
4
;
Diagnosis_banbenhao_flag_
=
4
;
Diagnosis_banbenhao_flag
=
5
;
}
}
...
...
YueJin_test_bench/source/Driver/CAN/RSCAN.c
View file @
a7f134b1
...
@@ -826,7 +826,6 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
...
@@ -826,7 +826,6 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
{
{
canData2
[
i
+
3
]
=
canData1
[
i
+
1
];
canData2
[
i
+
3
]
=
canData1
[
i
+
1
];
}
}
/*第三步*/
/*第三步*/
canData2
[
10
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
1
];
canData2
[
10
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
1
];
canData2
[
11
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
2
];
canData2
[
11
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
2
];
...
@@ -846,7 +845,6 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
...
@@ -846,7 +845,6 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
{
{
canData3
[
i
]
=
canData1
[
i
+
5
];
canData3
[
i
]
=
canData1
[
i
+
5
];
}
}
}
}
}
}
Diagnosis_banbenhao_flag
=
4
;
Diagnosis_banbenhao_flag
=
4
;
...
@@ -872,12 +870,8 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
...
@@ -872,12 +870,8 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
canData3
[
9
]
=
0XFF
;
canData3
[
9
]
=
0XFF
;
}
}
}
}
}
}
/*学卡信息回传*/
/*学卡信息回传*/
if
(
pstCANFrame
->
u32CANID
==
0x453u
)
if
(
pstCANFrame
->
u32CANID
==
0x453u
)
{
{
if
(
Student_Card_can_command
==
0
)
if
(
Student_Card_can_command
==
0
)
...
@@ -885,18 +879,18 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
...
@@ -885,18 +879,18 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x00
)
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x00
)
{
{
//默认值
//默认值
can_car_Data
[
0
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
can_car_Data
[
0
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
}
}
else
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x10
)
else
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x10
)
{
{
//进行中
//进行中
can_car_Data
[
1
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
can_car_Data
[
1
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
}
}
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x20
)
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x20
)
{
{
//成功
//成功
can_car_Data
[
2
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
can_car_Data
[
2
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
}
}
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x30
)
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x30
)
{
{
...
@@ -906,7 +900,7 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
...
@@ -906,7 +900,7 @@ void RSCAN0_CH4_Receive(CAN_Frame_st_t *pstCANFrame)
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x40
)
if
(
pstCANFrame
->
unCANData
.
u8CANData
[
7
]
==
0x40
)
{
{
//已经有相同卡存在
//已经有相同卡存在
can_car_Data
[
4
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
can_car_Data
[
4
]
=
pstCANFrame
->
unCANData
.
u8CANData
[
7
];
}
}
}
}
if
(
Query_Card_can_command
==
2
)
if
(
Query_Card_can_command
==
2
)
...
...
YueJin_test_bench/utility/诊断工具1.10.11 x64/Option/Option.properties
View file @
a7f134b1
#new Option
#new Option
#
Mon Jun 09 14:28:58
CST 2025
#
Tue Jun 24 13:52:32
CST 2025
IsSort
=
true
IsSort
=
true
MergeFlashIsCompression
=
false
MergeFlashIsCompression
=
false
ChangeAppFilePath
=
ChangeAppFilePath
=
...
@@ -9,7 +9,7 @@ DBFFilePath=
...
@@ -9,7 +9,7 @@ DBFFilePath=
MergeCrcTtpe
=
1
MergeCrcTtpe
=
1
MergeBootFilePath
=
MergeBootFilePath
=
IsMergeChangeAddress
=
false
IsMergeChangeAddress
=
false
MergeFlashOutPutFilePath
=
D
\:\\
Desktop
\\\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
(2)
MergeFlashOutPutFilePath
=
GPIOOutPutPath
=
GPIOOutPutPath
=
MergeCanDBCPath
=
MergeCanDBCPath
=
IsFilling
=
true
IsFilling
=
true
...
@@ -53,7 +53,7 @@ MergeFlashCompressionFormat=RLE24
...
@@ -53,7 +53,7 @@ MergeFlashCompressionFormat=RLE24
IsPlayMusic
=
false
IsPlayMusic
=
false
IsHexDisplay
=
true
IsHexDisplay
=
true
MergeLineInXLSPath
=
MergeLineInXLSPath
=
MergeFlashInPutFilePath
=
D
\:\\
Desktop
\\\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
(3)
MergeFlashInPutFilePath
=
MergeFlashIsInternal
=
false
MergeFlashIsInternal
=
false
MergeOutPutFilePath
=
MergeOutPutFilePath
=
MergeAppFilePath
=
MergeAppFilePath
=
...
...
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