From 5f5a7407ddf28f5d65ac3157c918a1eb15bce937 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Tue, 29 Oct 2024 17:57:21 +0800 Subject: [PATCH] =?utf8?q?AI=E5=8F=96=E6=B6=88=E5=AF=B9=E8=AF=9D=EF=BC=8C?= =?utf8?q?=E5=8E=BB=E9=99=A4=E9=99=90=E5=88=B6=EF=BC=8C=E7=9B=B4=E6=8E=A5?= =?utf8?q?=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../service/ble_service/bleservice/bleEvent.c | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c index 703b43683..06acce9dd 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c @@ -3063,10 +3063,10 @@ uint8_t binCheck_AI(uint8_t *buf,uint8_t *check,uint16_t len)//json 格式解析 if(buf[offset]==4) { WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"AI 结束\r\n"); - if(AI_is_end_state) - { - AI_is_end_state=0; - } + // if(AI_is_end_state) + // { + // AI_is_end_state=0; + // } offset++; if(offset>=len) { @@ -7047,7 +7047,7 @@ errcode_t decode_ota_data(ble_read_data *buffer_handle,uint8_t *data,uint16_t da else if (last_package_id==package_id) { uint32_t replydata=0xffffffff; - WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"包重复\r\n"); + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,"0xffffffff 包重复\r\n"); //ble_reply_msgarr(6,4,&replydata,4); } else if (last_package_id!=package_id) @@ -8634,7 +8634,7 @@ bool send_AI_is_ready(uint8_t type) void cancel_AI_cur_chat_(void) { - if(AI_is_end_state) + //if(AI_is_end_state) { WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"取消当前AI对话\r\n"); uint8_t data=1; @@ -8643,10 +8643,10 @@ void cancel_AI_cur_chat_(void) AI_is_end_state=0; } - else - { - WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"已经取消当前AI对话无需再次取消\r\n"); - } + //else + // { + // WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"已经取消当前AI对话无需再次取消\r\n"); + // } //send_big_data(0, (char *)&data, 1, 1, 1, 1, 0x07, 5); -- 2.17.1