From cda99ceca5c9b7241756db873243e17d15a49dd8 Mon Sep 17 00:00:00 2001 From: Mizore Date: Thu, 9 Feb 2023 19:23:37 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E9=BB=98=E8=AE=A4=E5=BC=80?= =?UTF-8?q?=E5=90=AF=20IPv6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/main.lua b/script/main.lua index c5f5700..8a15750 100644 --- a/script/main.lua +++ b/script/main.lua @@ -20,6 +20,9 @@ socket.setDNS(nil, 2, "223.5.5.5") -- 设置 SIM 自动恢复(单位: 毫秒), 搜索小区信息间隔(单位: 毫秒), 最大搜索时间(单位: 秒) mobile.setAuto(1000 * 10) +-- 开启 IPv6 +mobile.ipv6(true) + -- POWERKEY local button_last_press_time, button_last_release_time = 0, 0 gpio.setup(