Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RT200T_ESP32
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
RT200T
RT200T_ESP32
Commits
6af0691b
Commit
6af0691b
authored
Aug 11, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加软件版本号ID12发送给底板
parent
178678a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Protocol_User.c
RT200T_2_ESP32/main/Protocol_User.c
+3
-2
No files found.
RT200T_2_ESP32/main/Protocol_User.c
View file @
6af0691b
...
...
@@ -324,10 +324,11 @@ void Uart_Send_Id10_Pro(void )//esp32发送启动完成给底板
void
Uart_Send_Id12_Pro
(
void
)
//收到底板回复的0x20后,发送蓝牙类型 ID12[0]是判断蓝牙是否连接 不等于0是连接
{
uint8_t
ID12
[
3
]
=
{
0
};
uint8_t
ID12
[
2
]
=
{
0
};
ID12
[
0
]
|=
(
uint8_t
)(
BT_User
.
BT_Sts
<<
4
);
//经典
ID12
[
0
]
|=
Ble_User
.
Ble_Sts
;
//ble
Protocol_Send
(
0x12
,
ID12
,
3
);
ID12
[
1
]
=
100
;
//esp32软件版本号
Protocol_Send
(
0x12
,
ID12
,
2
);
}
// 函数定义
...
...
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