From fce58487d140ebb83b831becde399fe9be3e7e3a Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Mon, 20 Oct 2025 12:23:32 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E9=9F=B3=E9=A2=91=E6=8E=A5?= =?utf8?q?=E5=8F=A3=E8=AE=BE=E7=BD=AE(=E8=A1=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/ai_old/chat_websocket_server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/sdk/zhihui/ai_old/chat_websocket_server.cpp b/code/sdk/zhihui/ai_old/chat_websocket_server.cpp index 0071fc176..c7fc98b2b 100644 --- a/code/sdk/zhihui/ai_old/chat_websocket_server.cpp +++ b/code/sdk/zhihui/ai_old/chat_websocket_server.cpp @@ -48,7 +48,7 @@ static int chat_cached_capacity = 0; // 当前分配的内存容量 /* 外部函数声明 */ extern bool read_dev_token(char *data_token); -extern bool get_dev_id(char *device_id); +extern bool get_cmai_dev_id(char *device_id); // extern void uapi_cat1_keep_wakeup(uint8_t state); // Commented out due to missing implementation /** @@ -225,7 +225,7 @@ bool chat_ws_url_init(char * put_buf, uint8_t type) if(read_dev_token(token)) { char device_id[128] = {0}; - get_dev_id(device_id); + get_cmai_dev_id(device_id); char * product_id = "1927646275585744898"; sprintf(put_buf, "ws://amp.raisound.com/chat/ws?device_id=%s&product_id=%s&dt=%s&platform=aliyun&noCache=1", @@ -236,7 +236,7 @@ bool chat_ws_url_init(char * put_buf, uint8_t type) { char * Service_url = "118.145.158.207:22080"; char device_id[128] = {0}; - get_dev_id(device_id); + get_cmai_dev_id(device_id); char * product_id = "1927646275585744898"; if(type_ai == AI_TYPE_JIU) -- 2.17.1