From abbf30d7c062a822f2a157c6d882f0509496b631 Mon Sep 17 00:00:00 2001 From: linyimin <18316471919@139.com> Date: Thu, 25 Jun 2026 12:17:58 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20wifi=E8=BF=9E=E6=8E=A5=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E9=87=8D=E6=96=B0=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.yaml | 2 +- network.py | 5 +++++ version.md | 3 ++- version.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app.yaml b/app.yaml index 5142eb2..88b8739 100644 --- a/app.yaml +++ b/app.yaml @@ -1,6 +1,6 @@ id: t11 name: t11 -version: 2.15.17 +version: 2.15.18 author: t11 icon: '' desc: t11 diff --git a/network.py b/network.py index 676dae1..f18a763 100644 --- a/network.py +++ b/network.py @@ -688,6 +688,11 @@ class NetworkManager: }, 2, ) + self._session_force_4g = False + self.disconnect_server() + self._tcp_connected = False + self._network_type = None + self.logger.info("[conn wifi] WiFi已连接,等待主循环重新登录") except Exception as e: self.logger.error(f"cmd600 失败: {e}") self.safe_enqueue( diff --git a/version.md b/version.md index 9c51f80..5b19cd3 100644 --- a/version.md +++ b/version.md @@ -27,4 +27,5 @@ # 2.15.14 优化算法 # 2.15.15 优化wifi连接 # 2.15.16 修复wifi连接问题 -# 2.15.17 修复wifi连接问题 \ No newline at end of file +# 2.15.17 修复wifi连接问题 +# 2.15.18 wifi连接成功重新登录 \ No newline at end of file diff --git a/version.py b/version.py index 4b04b6e..4ee9054 100644 --- a/version.py +++ b/version.py @@ -4,6 +4,6 @@ 应用版本号 每次 OTA 更新时,只需要更新这个文件中的版本号 """ -VERSION = '2.15.17' +VERSION = '2.15.18'