Commit f4a6f3ca authored by 李俭双's avatar 李俭双

🐞 fix:更改蓝牙UUID位数为32位

parent 7db78a05
#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[21] = {"000000000000000000000"}; uint8_t UUIDData[32] = {"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, 21); Protocol_Send(MCU_ESP32_0x03, Ser2EDataForDFlash.DID_F184, 32);
} }
......
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