10 years, 5 months ago.

Join command works intermittently with Wifly

I have two Wifly modules of type RN-171, and two wireless routers, one with SSID="Testing" and the other SSID="Britches".Security is WPA_PSK. When I do a "join" command to either wifi router from either wifly module, I get "Disconn from Testing,AUTH-ERR" 99% of the time. Occasionally the join works. The routers are 8 feet from the Wifly modules.

How can an authentication error be intermittent?

Does anyone have an idea? Other equipment (PCs, laptops, Kindles) I have works fine with either router.

I'm using the latest WiflyInterface and mBed librarys.

Terry

1 Answer

10 years, 5 months ago.

I finally decided to use the WPS function in the Wifly module. This can be accomplished by using the Roving Networks WPS App Note at http://www.rovingnetworks.com/files/resources/WPS-App-note.pdf. I configured my module as described using the directions for the RN-171. I then issued the command "run wps". I then got the following in return:

run wps
WPS-APP V1.31 on RN-171
WPS-PIN=0
1,2,3,4,5,6,7,8,9,10,11,12,13,Scan found 4 APs
Join=MySSID,WMM=1,chan=9,mode=4
WPS-SUCCESS!
SSID=MySSID
phrase=24c18bde30b0bc6f1a982357a2d6d7f3ba963866791d3a6a8c0350dffdb9a878
wifly-EZX Ver 4.00, Mar 27 2013 13:58:49 on RN-171
MAC Addr=00:06:66:50:9f:ac
*READY*
Auto-Assoc MySSID chan=9 mode=MIXED SCAN OK
Joining MySSID now..
Associated!
DHCP: Start
DHCP in 3265ms, lease=86400s
IF=UP
DHCP=ON
IP=192.168.1.138:2000
NM=255.255.255.0
GW=192.168.1.1
Listen on 2000
DHCP:Renew

Accepted Answer