WiFly not replacing space in passphrase

I have a WiFly on Arduino Duemilanove, just getting started and trying to get it to connect to my network.

Going through the tutorial http://www.sparkfun.com/tutorials/158 I’ve loaded the WiFly Transparent Terminal Sketch and am just going through tera term and trying to manually get it online.

the wireless passphrase contains a space and the replace option doesn’t seem to be working properly

the manual (http://www.sparkfun.com/datasheets/Wire … SX-um2.pdf) says:

For example, if the ssid of the AP is “yellow brick road”

You would enter “yellow$brick$road”

Using the ‘get w” command will properly display the value:

SSID=yellow brick road.

So I try:

<2.21> set wlan passphrase yellow$brick$road

AOK

<2.21> get wlan

SSID=mySSID

Chan=0

ExtAnt=0

Join=1

Auth=WPA1

Mask=0x1fff

Rate=12, 24 Mb

Linkmon=0

Passphrase=yellow$brick$road

It’s still showing the “$” character in the passphrase. I checked the “opt replace” value, and it seems to be correct (0x24 = $):

<2.21> get opt replace

JoinTmr=1000

Replace=0x24

DeviceId=WiFly-GSX

Password=

Format=0x0

Sensors=0x0

When I try to join it says AUTH-ERR

No, I cannot change the passphrase of my wireless network. It’s a corporate network and I’m not in control of it.

Any thoughts?

Try setting AUTH to 0 to force it to auto-select.

Doesn’t help. I tried all the different auth modes, none work.

I tried this on a spare router that doesn’t have a space in the passkey and it got online, so I know the device works. But I really need it to be able to work with a space in the passkey.

When you set Auth to 0, what did it get set as? If you’re trying to connect to a WEP network with a WPA passphrase, that won’t work.

Use the SCAN command to verify that your network is actually WPA1.

Other than that, I would warn against using a library to join with spaces in the passphrase, but I know you’re not doing that since your ‘join’ parameter is 1.

This is a total longshot, but if you have a really old module, (Which may even predate the WiFly Shield… like I said, total longshot…)

As of firmware version 2.07 6/04/2009

• You can now enter the WPA passkey after setting the SSID, previously the pass key had to be

entered first for the security hash to be correctly created.