Refactorisé les dossiers et mon wifi sniffer commence à bien fonctionner

This commit is contained in:
Christian Zufferey
2019-01-19 18:07:03 +01:00
parent ef2662c545
commit 0ec0af8f07
59 changed files with 875 additions and 11 deletions

View File

@@ -0,0 +1,29 @@
-- Scripts à charger après le boot pour démarrer son appli
print("\n boot.lua zf181211.0005 \n")
function heartbeat()
f= "flash_led_xfois.lua" if file.exists(f) then dofile(f) end
boottimer1=tmr.create()
tmr.alarm(boottimer1, 1*1000, tmr.ALARM_AUTO, function()
xfois =2
blink_LED ()
end)
end
f= "wifi_ap_stop.lua" if file.exists(f) then dofile(f) end
f= "wifi_cli_conf.lua" if file.exists(f) then dofile(f) end
f= "wifi_cli_start.lua" if file.exists(f) then dofile(f) end
f= "telnet_srv2.lua" if file.exists(f) then dofile(f) end
f= "web_ide2.lua" if file.exists(f) then dofile(f) end
f= "set_time.lua" if file.exists(f) then dofile(f) end
f= "dsleep.lua" if file.exists(f) then dofile(f) end
f= "a.lua" if file.exists(f) then dofile(f) end
a()
--heartbeat()