Wifi Signal strenght

Shay

Well-Known Member
Licensed User
Longtime User
Hi

is it possible to get signal strenght of all the AP/routers around me
(without connecting to anyone)

Thanks
 

Shay

Well-Known Member
Licensed User
Longtime User
I assume this is the code for it
(can't find documantion on it)

a1 = myWifi.ABNumberOfAvailableWifiNetworks - 1
For a = 0 To a1
b = myWifi.ABGetWifiNetwork(a).SSID & " " & myWifi.ABGetWifiNetwork(a).Level
Next

but my problem now, that a1 always = -1
also how do I refresh the AvailableWifiNetworks list?
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
ok, seem to solve my own problems

I added timer of 4 sec after :myWifi.ABLoadWifi()

but still not every refresh i am getting the result

how can I get result every 1 sec or less, if I limit it to specific SSID, will it work?
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
2 problems:

1. how to get the data every 1 sec. or less - I got some app from the market and it is working, so I don't see reason why it should not work

2. I see there is 2 parameters in wireless, signal strenght and strenghr in Dbm
how do I get both?
 
Upvote 0

sioconcept

Active Member
Licensed User
Longtime User
Scan on Timer

Try with this, it's work for me (put ABLoadWifi directly in timer, not in Activity_Create) :



Sub Timer1_Tick
myWifi.ABLoadWifi
Label2.Text = myWifi.ABGetCurrentWifiInfo().LinkSpeed & CRLF & "Rssi " & myWifi.ABGetCurrentWifiInfo().Rssi
End Sub
 
Upvote 0
Top