Using the Wifi shield library…
Can I scan for available networks to connect to?
Is there a function for that?
Is it possible?
I’ve tried to search for it.
Seems there is more than one Library.
Thanks!
Using the Wifi shield library…
Can I scan for available networks to connect to?
Is there a function for that?
Is it possible?
I’ve tried to search for it.
Seems there is more than one Library.
Thanks!
sbright33:
Can I scan for available networks to connect to?
a fast look up in the User Manual and Command Reference (V 2.08), p. 14:
Action Command “scan”: “Performs an active probe scan of access points on all 13 channels, and prints out MAC address, receive signal strength, and SSID name.”
Thus possible. I did never use the library…
Which library is that? Link please! There is more than one library.
I did not see it in the one I browsed.
There is no scan function in the current library.
To implement the scan function you will have to do the following:
Issue a scan to the WiFly.
Wait for a known phrase to show you’ve received all of the scan data.
Parse the data for SSID and Security Type.
Set your Security type.
Set the SSID.
If you know the passphrase for a given SSID, set the passphrase.
Join the network.
A good deal of this information can be gathered from the datasheet. Good examples of interacting with the WiFly are in the library.
I must be looking in the wrong place. Link please?
How about MAC / BSSID?