Commit 46534b62 authored by 时昊's avatar 时昊

feat:屏蔽钱江导航的ble代码

parent f9f13e88
......@@ -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;
}
}
}
......
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