Commit 4963a8b7 authored by 陈家乐's avatar 陈家乐

feat:将发送固定的UUID更改为诊断写入的UUID

parent adf95d2f
#include "BlueTooth.h" #include "BlueTooth.h"
#include "UDS_ISO14229_Services.h"
BlueTooth_t BlueTooth; BlueTooth_t BlueTooth;
uint8_t UUIDData[32] = {"tywtywtywtywtywtywtywtywtywtyw03"}; uint8_t UUIDData[32] = {"tywtywtywtywtywtywtywtywtywtyw03"};
extern Ser2EDFlashData Ser2EDataForDFlash;
void BlueTooth_KL30_KL15_Wakeup_Init(void) void BlueTooth_KL30_KL15_Wakeup_Init(void)
{ {
BlueTooth.BLE_St = BLUE_STATE_Starting; BlueTooth.BLE_St = BLUE_STATE_Starting;
...@@ -11,8 +12,8 @@ void BlueTooth_KL30_KL15_Wakeup_Init(void) ...@@ -11,8 +12,8 @@ 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, 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