解决禅道#1275bug 1647/3
authorluozheng <1732036298@qq.com>
Mon, 17 Feb 2025 03:23:58 +0000 (11:23 +0800)
committerluozheng <1732036298@qq.com>
Mon, 17 Feb 2025 03:23:58 +0000 (11:23 +0800)
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp

index 2199c1b..60f0c4f 100644 (file)
@@ -2,7 +2,7 @@
  * @Author: luozheng 1732036298@qq.com
  * @Date: 2024-06-20 15:14:50
  * @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-12-18 14:33:30
+ * @LastEditTime: 2025-02-17 10:59:24
  * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp
  */
 #include "aivoice/include/AiVoiceModel.h"
@@ -575,6 +575,10 @@ namespace OHOS
                 if (it != selectAiModelToTextId.end())
                 {
                     WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "filesize = %ld,SelectAiModel = %d", size, it->second.second);
+                    if(get_ble_interval() >= BLE_CONNECT_INTERVAL_SLOW)
+                    {
+                        uapi_ble_connect_param_update(BLE_CONNECT_INTERVAL_HIGH);
+                    }
                     send_AI_is_ready(it->second.second);
                 }
                 else