SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
#173309
Revisiting a project that has been on the shelf for a few months and now with the 4.4.1 firmware I have having an issue with the RV171XV and APMode

For some reason, I am able to setup a Soft AP and see it, but I can only connect to it once. If I try to connect more than one device, or if I disconnect the first device and try reconnecting it to the Soft AP SSID, I get a message from the Mac, PC, iPad etc saying it can't connect to the WiFly Soft AP network

So, to restate

a) I upload my code and execute the following statements listed below
b) I see the network, and can connect a device (iPad, Mac, PC, etc) to the WiFly network
c) If I try to connect another device, I get a connection failure
d) If I disconnect the currently connected device, and try to reconnect it, I also get a connection failure
e) The only way to resolve the issue is to power cycle the chip

Here is an output of my setup statements and the resulting "get everything" command output

factory RESET
save
reboot
$$$
set sys printlvl 1
set u m 1
set comm size 88
set ip protocol 1
set wlan rate 0
set broadcast interval 0
set ip host 255.255.255.255
set ip remote 45654
get mac
set wlan join 7
set ip dhcp 4
set ip address 192.168.1.1
set ip net 255.255.255.0
set opt replace 36
set apmode ssid Controller808fbc
set apmode passphrase current
set wlan channel 1
set apmode link_monitor 0
save
reboot

wifly-EZX Ver: 4.41 Build: r1057, Jan 17 2014 10:23:56 on RN-171
SSID=EPController808fbc
Pass=swimcurrent
Linkmon=0
Beacon=102
Reboot=0
IF=UP
DHCP=SERVER
IP=192.168.1.1:2000
NM=255.255.255.0
GW=0.0.0.0
HOST=255.255.255.255:45654
PROTO=UDP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
OPEN=*OPEN*
CLOSE=*CLOS*
REMOTE=88
FlushSize=1420
MatchChar=0
FlushTimer=5
IdleTimer=0
CmdChar=$
DNS=0.0.0.0
Name=dns1
Backup=rn.microchip.com
Lease=86400
FTP=0.0.0.0:21
File=wifly-EZX.img
User=roving
Pass=Pass123
Dir=public
Timeout=200
FTP_mode=0x0
SSID=roving1
Chan=1
ExtAnt=0
Join=7
Auth=OPEN
Mask=0x1fff
Rate=0, 1 Mb
Linkmon=30
Passphrase=rubygirl
TxPower=12
EAP_Id=userid
EAP_User=peap-user
SleepTmr=0
WakeTmr=0
Trigger=0x1
Autoconn=0
IoFunc=0x0
IoMask=0x21f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x1
LaunchStr=web_app
TimeEna=0
TIMEADR=64.90.182.55:123
Zone=7
Baudrate=9600
Flow=0x0
Mode=0x1
Cmd_GPIO=0
JoinTmr=1000
Replace=0x24
DeviceId=WiFly-EZX
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x0
Backup=0.0.0.0:0
Sensor=0x0
SensePwr=0x0