Essayé d'optimiser au maximum l'occupation RAM, mais sans trop de succès malheureusement :-(
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user