@@ -19,6 +19,11 @@ require("sysplus")
-- end)
+-- 兼容V1001固件的
+if http == nil and http2 then
+ http = http2
+end
+
sys.taskInit(function()
sys.wait(1000)
wlan.init()
@@ -6,6 +6,18 @@ sys = require("sys")
require("sysplus")
wifiLib = require("wifiLib")
tag = "EINKBOOK"
-- 是否启用配网功能(配合esptouch使用)
USE_SMARTCONFIG = false
@@ -7,6 +7,12 @@ VERSION = "1.0.0"
local sys = require "sys"
--需要自行填写的东西
--wifi信息
local wifiName,wifiPassword = "Xiaomi_AX6000","Air123456"