- Sat Apr 30, 2011 2:29 pm
#126357
I just received a WiFly with code version string is WiFly Ver 2.21, 07-11-2010. I'm using it with a Arduino Duo. The router is WPA2PSK and the SSID has spaces in the name. The passphrase has no spaces.
Run SpiUartTerminal and enter CMD mode. Use these commands:
set wlan phrase thepassphrase
set wlan ssid the$ssid
---
join <- fails "Auto-Assoc the ssid chan=0 mode=NONE FAILED" (the messageshows the real SSID with a space)
join the$ssid <- fails with the same error as above but it doesn't do the space subsitute and instead shows the $ in the ssid name
join the ssid <- fails and says ERR:Bad Addr (obviously doesn't like me including the space in the name
Now if I do a "scan" command and tell it to join the number associated with the$ssid everything is gravy. For example
join # 4 <- succeeds "Auto-Assoc the ssid chan=7 mode=WPA2 SCAN OK"
and it goes on to show a correctly allocated IP address and so on and the happy green light on the WiFly flashes.
I've tried reboot commands and "factory RESET" commands to no avail. I have also (in fact what I tried first) entered the credentials into WiFly_Autoconnect_Terminal and when I run this sketch I get the initial println and then nothing (no failure message nor a success message) and the two light blink indicating it is not properly associated. In the Credentials.h file I've tried entering the SSID with the space and with a $ instead of the space. Neither works. I'm not sure whether the $ is required.
I do note the scan output is a bit variable. Sometimes it will only return one SSID and sometimes it will return a half dozen. Sometimes the ones it does return are relatively distant and it won't list the SSID of my own router. But personally I don't think this is a real issue.
At this point I'm at a loss on how to proceed. Has anyone gotten this thing to join a WPA network with a space in the SSID? If so can you sure exactly how you're doing it?
Run SpiUartTerminal and enter CMD mode. Use these commands:
set wlan phrase thepassphrase
set wlan ssid the$ssid
---
join <- fails "Auto-Assoc the ssid chan=0 mode=NONE FAILED" (the messageshows the real SSID with a space)
join the$ssid <- fails with the same error as above but it doesn't do the space subsitute and instead shows the $ in the ssid name
join the ssid <- fails and says ERR:Bad Addr (obviously doesn't like me including the space in the name
Now if I do a "scan" command and tell it to join the number associated with the$ssid everything is gravy. For example
join # 4 <- succeeds "Auto-Assoc the ssid chan=7 mode=WPA2 SCAN OK"
and it goes on to show a correctly allocated IP address and so on and the happy green light on the WiFly flashes.
I've tried reboot commands and "factory RESET" commands to no avail. I have also (in fact what I tried first) entered the credentials into WiFly_Autoconnect_Terminal and when I run this sketch I get the initial println and then nothing (no failure message nor a success message) and the two light blink indicating it is not properly associated. In the Credentials.h file I've tried entering the SSID with the space and with a $ instead of the space. Neither works. I'm not sure whether the $ is required.
I do note the scan output is a bit variable. Sometimes it will only return one SSID and sometimes it will return a half dozen. Sometimes the ones it does return are relatively distant and it won't list the SSID of my own router. But personally I don't think this is a real issue.
At this point I'm at a loss on how to proceed. Has anyone gotten this thing to join a WPA network with a space in the SSID? If so can you sure exactly how you're doing it?