From: DXY <1731678236@qq.com> Date: Wed, 4 Sep 2024 08:42:24 +0000 (+0800) Subject: 移动入库版本号更改为固定Watch Soar V1.0 X-Git-Tag: release_V1.2.70_20241020_135402~529^2~12^2~6 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F869%2F2;p=mirrors%2FFD230.git 移动入库版本号更改为固定Watch Soar V1.0 --- diff --git a/code/sdk/drivers/peripheral/slip/cat1Service/cat1_server.cpp b/code/sdk/drivers/peripheral/slip/cat1Service/cat1_server.cpp index 41f3781d9..6461b4e06 100644 --- a/code/sdk/drivers/peripheral/slip/cat1Service/cat1_server.cpp +++ b/code/sdk/drivers/peripheral/slip/cat1Service/cat1_server.cpp @@ -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;