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
3793c16c
Commit
3793c16c
authored
Apr 07, 2025
by
baizhengyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:默认报文发送
parent
ea54df78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
1 deletion
+37
-1
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+37
-1
No files found.
YueJin_test_bench/source/Appliciation/Task.c
View file @
3793c16c
...
...
@@ -1419,9 +1419,45 @@ void can_submit(void)
case
13
:
break
;
case
14
:
break
;
default:
init_CAN_Frame
(
&
m_msg1
,
0x0C20FFD2
,
8
,
1
,
data1
);
// 车速
init_CAN_Frame
(
&
m_msg2
,
0x0C10FFD3
,
8
,
1
,
data2
);
// 报警器报警状态 整车状态 free
init_CAN_Frame
(
&
m_msg3
,
0x0C22FFD2
,
8
,
1
,
data3
);
// 整车操作状态反馈
init_CAN_Frame
(
&
m_msg4
,
0x0C50FFD0
,
8
,
1
,
data4
);
// 时间显示00 00
init_CAN_Frame
(
&
m_msg8
,
0x0C23FFD2
,
8
,
1
,
data8
);
// ready 刹车开关信号反馈
init_CAN_Frame
(
&
m_msg9
,
0x0C11FFD1
,
8
,
1
,
data9
);
// 总电池电量
init_CAN_Frame
(
&
m_msg5
,
0x0C10FFD1
,
8
,
1
,
data5
);
// 总电池电压
init_CAN_Frame
(
&
m_msg11
,
0x0C23FFD3
,
8
,
1
,
data11
);
// 解除报警 蓝牙
init_CAN_Frame
(
&
m_msg12
,
0x0C23FFD0
,
8
,
1
,
data12
);
// 解除报警 gps gms
init_CAN_Frame
(
&
m_msg13
,
0x0C10FFD3
,
8
,
1
,
data13
);
// 自动大灯功能设置
init_CAN_Frame
(
&
m_msg14
,
0x0C25FFD2
,
8
,
1
,
data14
);
// 陡坡缓降
init_CAN_Frame
(
&
m_msg15
,
0x0C27FFD3
,
8
,
1
,
data15
);
// 坐桶开启
init_CAN_Frame
(
&
m_msg6
,
0x0C50FFD2
,
8
,
1
,
data6
);
// 整车故障灯
init_CAN_Frame
(
&
m_msg7
,
0x0C5AFFD2
,
8
,
1
,
data7
);
// TCS
//ABS
init_CAN_Frame
(
&
m_msg16
,
0x0C50FFDC
,
8
,
1
,
data16
);
// ABS功能设置反馈
init_CAN_Frame
(
&
m_msg17
,
0x0CC0FFDC
,
8
,
1
,
data17
);
// ABS故障 激活 可回复
//abs驱动tcs
init_CAN_Frame
(
&
m_msg18
,
0x0CA0FFDC
,
8
,
1
,
data18
);
// abs驱动tcs
break
;
}
if
(
MENU_CHECK_STEP
!=
0
)
...
...
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