OpenWrt_Luci_Lua/smart_wifi_code/test.lua
JamesonHuang a3c0fbb62f art_wifi_third, watchcat
Signed-off-by: JamesonHuang <462430725@qq.com>
2015-05-24 17:50:51 +08:00

25 lines
565 B
Lua

local nwfs = require "meizu.nwfs"
--error
--nwfs.fork_smart_wifi_updown("mt7628", "*", "*", "*", "*", "*")
--set repeat task test
--nwfs.fork_smart_wifi_updown("mt7628", "22", "22", "22", "23", "1,4,5,0")
--posix.sleep(2)
--nwfs.fork_smart_wifi_updown("mt7628", "12", "09", "22", "23", "1,2,3,4,5,6,0")
--stop all task
nwfs.set_smart_wifi_stop("*****")
--set non-repeat task test
--nwfs.fork_smart_wifi_updown("mt7628", "12", "06", "22", "23", "non-repeat")
--posix.sleep(1)
--nwfs.fork_smart_wifi_updown("mt7628", "22", "11", "11", "22", "non-repeat")