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
46534b62
Commit
46534b62
authored
May 31, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:屏蔽钱江导航的ble代码
parent
f9f13e88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
Protocol_User.c
RT200T_2_ESP32/main/Protocol_User.c
+12
-12
No files found.
RT200T_2_ESP32/main/Protocol_User.c
View file @
46534b62
...
...
@@ -239,22 +239,22 @@ static void Protocol_UartHandle(const Protocol_Data_t *pData)//esp接收底板
BT_User
.
HF_Ctrl
=
pData
->
Data
[
0
];
//esp32接收到的数据
}
if
(
strncmp
((
const
char
*
)
ble_uerid
,
(
const
char
*
)
&
(
pData
->
Data
[
1
]),
32
)
!=
0
)
{
memcpy
((
uint8_t
*
)
ble_uerid
,
(
uint8_t
*
)
&
(
pData
->
Data
[
1
]),
32
);
}
//
if(strncmp((const char *) ble_uerid, (const char *)&(pData->Data[1]), 32) != 0)
//
{
//
memcpy(( uint8_t * )ble_uerid, (uint8_t *)&(pData->Data[1]), 32);
//
}
// esp_log_buffer_hex(TAG, ble_uerid, 32);
// esp_log_buffer_hex(TAG, &(pData->Data[1]), 32);
//
//
esp_log_buffer_hex(TAG, ble_uerid, 32);
//
//
esp_log_buffer_hex(TAG, &(pData->Data[1]), 32);
if
(
Ble_User
.
UseridUpdate
==
0
)
{
bsp_Ble_Init
();
//
if(Ble_User.UseridUpdate == 0)
//
{
//
bsp_Ble_Init();
printf
(
"get uuid and init ble!!!
\r\n
"
);
}
//
printf("get uuid and init ble!!! \r\n");
//
}
Ble_User
.
UseridUpdate
=
0xAA
;
//
Ble_User.UseridUpdate = 0xAA;
}
}
}
...
...
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