Code for checking WiFi strength
Posted: Thu Feb 18, 2021 11:50 pm
thanks to cicciocb, this is his code
Code: [Local Link Removed for Guests]
' wifi scanner example
mySSID$ = "mySSID" ' define your SSID here
wifi.scan
while wifi.networks(a$) = -1
wend
NL$ = chr$(10) ' this means New Line
for z=1 to word.count(a$, NL$) 'browse all the lines
z$ = word$(a$, z,NL$) 'extract line by line
s$ = word$(z$, 1, ",") ' extract the SSID (the 1st argument)
if (s$ = mySSID$) then ' if the SSID is the one we search
RSSI$ = word$(z$, 3, ",") ' extract the RSSI (the 3rd argument)
print s$, RSSI$
end if
next z