User manual

!
www.rovingnetworks.com Version 1.0r 9/21/2012 58
RN-WIFLYCR-UM
Firmware Version 2.22 through 2.30
Firmware version 2.22 through 2.30 supports a comma-delimited scan output format, which a microprocessor can use to
parse the RSSI information. The scan command output format is:
Row Count
Channel
RSSI Value
(dBm)
Security
Mode
Capabilities
Access Point
MAC Address
SSID
Example output from the scan command output is shown below:
SCAN:Found 5
01,01,-53,00,0200,1a:fc:90:e5:a5:37,QTDFW
02,01,-59,04,3104,00:15:f9:38:bd:b0,SensorNet
03,11,-72,04,3104,00:16:b6:45:63:98,CoolBox
04,11,-50,02,3100,00:18:02:70:7e:e8,airlink-11
05,11,-69,04,3100,00:14:6c:1f:f7:5e,ap-ssid-change-me
The security mode field for the this scan format is described below:
Security Mode
Open
WEP
WPA-PSK
WPA2-PSK
WPA-Enterprise
WPA2-Enterprise
Code
0
1
2
4
6
8
UART Heartbeat Messages
In firmware version 2.22 and higher, the module can output UART heartbeat messages. The bit-mapped message is
output periodically while the module is in data mode and not connected to a remote host. Messages are not output while in
command mode. The heartbeat message encodes the module’s state for the embedded microprocessor. Based on the
heartbeat message, the microprocessor can choose to change the configuration by going into command mode.
To enable the UART heartbeat messages, use the set sys printlvl 0x10 command. The output of this mode is:
*8b30*8b30*8b30….
Table 28 shows the output bit format.
Table 28. Output Bit Format
Bit
15..14
13..12
11..8
7..6
5
4
3..0
Function
Fixed
RESERVED
Channel
RESERVED
Authentication
Association
TCP status
Value
2 = Access point
mode
3 = Ad hoc mode
Unused
0 - 13
Unused
1 = OK
1 = OK
0 = Idle
1 = Connected
3 = No IP
4 = Connecting
5 = Challenge
for password