Essayé d'optimiser au maximum l'occupation RAM, mais sans trop de succès malheureusement :-(

This commit is contained in:
Christian Zufferey
2019-10-29 23:02:12 +01:00
parent 4eff40cf3c
commit a030bc82ab
3 changed files with 10 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
-- Scripts pour tester le sniffer de smartphone qui essaient de se connecter sur des AP WIFI
-- source: https://nodemcu.readthedocs.io/en/dev/modules/wifi/#wifieventmonregister
print("\n b.lua zf191029.1944 \n")
print("\n b.lua zf191029.2204 \n")
--f= "set_time.lua" if file.exists(f) then dofile(f) end
@@ -102,8 +102,8 @@ end
--zadrs, zname, zrssi, ztime0, ztime1
function zsniff(T)
print("toto1950: "..T.RSSI)
if T.RSSI > -100 then
-- print("toto1950: "..T.RSSI)
if T.RSSI > -60 then
print("\n\tMAC: ".. T.MAC.."\n\tRSSI: "..T.RSSI)
-- ztime()
z_adrs_mac_index=find_adrs(T.MAC)