移动入库版本号更改为固定Watch Soar V1.0 869/2 869/head
authorDXY <1731678236@qq.com>
Wed, 4 Sep 2024 08:42:24 +0000 (16:42 +0800)
committerDXY <1731678236@qq.com>
Wed, 4 Sep 2024 08:42:24 +0000 (16:42 +0800)
code/sdk/drivers/peripheral/slip/cat1Service/cat1_server.cpp

index 41f3781..6461b4e 100644 (file)
@@ -1015,9 +1015,9 @@ int cat1_handle_call_disconnected(void)
 }
 void get_software_version_toCat1(void)//发送固件版本到cat1
 {
-    char version_buf[128] = {0};
-    uint32_t version_len = 128;
-    uapi_get_buildversion((uint8_t *)version_buf, version_len);
+    char version_buf[128] = "Watch Soar V1.0";
+    // uint32_t version_len = 128;
+    // uapi_get_buildversion((uint8_t *)version_buf, version_len);
     printf("version_buf %s\r\n",version_buf);
     udp_send_msg_toCat1(UDP_MSG_GET_SOFTWARE_VESION,version_buf);
     return;