With WPA-2 encryption I got something like this
Program Started
Call Constructor
FlowControl = False
Trying Baudrate: 57600 Parity: 0
Message from Class RN171: Could connect on first try
Constructor ended
FEZ-Baudrate = 57600 Parity = 0 FlowCtrl= False
CMD
set ip dhcp 1
AOK
<4.41>
set ip gateway 192.168.1.1
AOK
<4.41>
set ip netmask 255.255.255.0
AOK
<4.41>
set dns address 192.168.1.1
AOK
<4.41>
exit
EXIT
wifly-EZX
Ver: 4.41 Build: r1057, Jan 17 2014 10:23:54 on RN-171
MAC Addr=00:06:66:53:15:b6
READY
CMD
set ip dhcp 1
AOK
<4.41>
set ip localport 80
AOK
<4.41>
set ip protocol 2
AOK
<4.41>
set ip protocol 2
AOK
<4.41>
set comm time 20
AOK
<4.41>
set wlan ssid FriBo24
AOK
<4.41>
set wlan channel 0
AOK
<4.41>
set wlan auth 4
AOK
<4.41>
set wlan phrase **************
AOK
<4.41>
set wlan hide 1
AOK
<4.41>
join
<4.41>
Auto-Assoc FriBo24 chan=1 mode=MIXED SCAN OK
Joining FriBo24 now…
Associated!
DHCP: Start
WARN: Total initialization time exceeds 10 seconds.
: ProgramStarted is blocking execution, which means events and timers will not run properly.
: Make sure not to use blocking code such as while(true) - use a GT.Timer instead.
DHCP in 6123ms, lease=864000s
IF=UP
DHCP=ON
IP=192.168.1.49:80
NM=255.255.255.0
GW=192.168.1.1
Listen on 80
get ip
IF=UP
DHCP=ON
IP=192.168.1.49:80
NM=255.255.255.0
GW=192.168.1.1
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
<4.41>
exit
EXIT
CMD
set ip protocol 2
AOK
<4.41>
exit
EXIT
CMD
set ip local 80
AOK
<4.41>
set comm remote 0
AOK
<4.41>
exit
EXIT