Hello,
I bought a wifly shield from sparkfun, and aim to use it post sensor information to the internet.
But the problem is getting the Wifly to connect to a network. When using SpiUartermial example from wifly library I can connect to the network by doing the following in the serial monitor:
$$$
scan
set wlan phrase
mypasswordjoin
myssidI then check that I am connected using:
show net
And I am connected.
However when saved and reboot the information is lost. Following this guide
http://www.mgisolutions.info/2012/05/arduino-wifly-shield-tutorial.html with additional settings from the data sheet
http://www.sparkfun.com/datasheets/Wireless/WiFi/WiFlyGSX-um2.pdf I put the following commands through the serial monitor:
$$$
set ip dhcp 0
set ip address 192.168.1.1
set ip netmask 255.255.255.0
set wlan join 4
set wlan ssid
myssid Its a virgin media hub if that changes anythingset wlan auth 4
WAP2 auth usedset wlan chan 11
set wlan phrase
mypasswordsave
reboot
Then when I check connection its not connected.
Its very frustrating as I can't move on with the project. I think I would prefer it if it didn't connect either way, then it would be less frustrating.
I have tried doing different dhcp settings, as well as copying ip/netmask/chan shown when connected through the first method.
I hope that is enough information, and I have done hours of internet trawling and can't find the solution.