From 6a27c39e455eac48e8513e8e1eafbce55b064a45 Mon Sep 17 00:00:00 2001 From: DXY <1731678236@qq.com> Date: Wed, 4 Sep 2024 16:42:24 +0800 Subject: [PATCH] =?utf8?q?=E7=A7=BB=E5=8A=A8=E5=85=A5=E5=BA=93=E7=89=88?= =?utf8?q?=E6=9C=AC=E5=8F=B7=E6=9B=B4=E6=94=B9=E4=B8=BA=E5=9B=BA=E5=AE=9AW?= =?utf8?q?atch=20Soar=20V1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../sdk/drivers/peripheral/slip/cat1Service/cat1_server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.17.1