Commit 5235a253 authored by 李俭双's avatar 李俭双

🐞 fix:修改UUID位数为21位

parent e6cfe471
#include "BlueTooth.h" #include "BlueTooth.h"
#include "UDS_ISO14229_Services.h" #include "UDS_ISO14229_Services.h"
BlueTooth_t BlueTooth; BlueTooth_t BlueTooth;
uint8_t UUIDData[32] = {"tywtywtywtywtywtywtywtywtywtyw03"}; uint8_t UUIDData[21] = {"000000000000000000000"};
extern Ser2EDFlashData Ser2EDataForDFlash; extern Ser2EDFlashData Ser2EDataForDFlash;
void BlueTooth_KL30_KL15_Wakeup_Init(void) void BlueTooth_KL30_KL15_Wakeup_Init(void)
{ {
...@@ -13,7 +13,7 @@ void BlueTooth_KL30_KL15_Wakeup_Init(void) ...@@ -13,7 +13,7 @@ void BlueTooth_KL30_KL15_Wakeup_Init(void)
void Send_UUID_To_Esp32(void) void Send_UUID_To_Esp32(void)
{ {
//Protocol_Send(MCU_ESP32_0x03, UUIDData, 32); //Protocol_Send(MCU_ESP32_0x03, UUIDData, 32);
Protocol_Send(MCU_ESP32_0x03, Ser2EDataForDFlash.DID_F184, 32); Protocol_Send(MCU_ESP32_0x03, Ser2EDataForDFlash.DID_F184, 21);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment