网络重连后更新蓝牙状态 3098/1 3098/head 3100/target/1 3101/target/1
authorxue <2144439972@qq.com>
Fri, 16 Jan 2026 07:34:23 +0000 (15:34 +0800)
committerxue <2144439972@qq.com>
Fri, 16 Jan 2026 07:34:23 +0000 (15:34 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c

index 70b9b6f..1a98f6f 100644 (file)
@@ -3193,6 +3193,10 @@ static void ln_ws_reconnect_success_callback(void)
         memset(story_theme_cache,0,sizeof(story_theme_cache));
     }
     
+    // 设备重新上线后,上报蓝牙状态
+    LN_WS_INFO("Device reconnected, reporting Bluetooth status\n");
+    ln_bt_report_earphone_connection_status();
+    
     LN_WS_INFO("Reconnect success event triggered\n");
 }