www.rovingnetworks.com
Version 1.0r 9/21/2012
56
RN -W IFLYCR -U M
SETTING DEBUG PRINT LEVELS
You can enable print functions to assist with debugging the operation and status of the module. The
set sys printlvl
<
value
> command controls these additional print functions, where <
value
> is a bit-mapped register that controls which
printout messages are sent to the UART. See “set sys printlvl <
value
>” on page 22 for more information.
Scan Output Format
You enable the scan output using the
set sys printlvl 0x4000
command. The scan output format differs, depending on
the firmware you are running.
Firmware Version 2.36 & 2.45
Firmware version 2.36 and 2.45 support a comma-delimited scan output format, which a microprocessor can use to parse
the RSSI information. The scan command output format is:
Index
Channel
RSSI
Security
Mode
Capabilities
WPA
Configuration
WPS
Mode
MAC
address
SSID
Where:
Field
Value
Index
2 character, decimal
Channel
2 character, decimal
RSSI
2 character, decimal (negative number)
Security mode
2 bytes (see
Table 24)
Capabilities
Bit-mapped 4 hex bytes (see Table 25)
WPA Configuration
Bit-mapped 2 hex bytes (see Table 26)
WPS Mode
Bit-mapped 2 hex bytes (see Table 27)
MAC address
Address
SSID
Up to 32 chars
NOTE:
The string
END
is added at the end of the scan data.
The following example shows the output format:
SCAN:Found 3
01,01,-59,04,1104,28,c0,20:4e:7f:08:df:85,dad-rules
02,03,-64,02,1104,28,00,00:30:bd:9b:49:22,basement
03,10,-71,04,3100,28,00,90:27:e4:5d:fc:a7,URSOMONEY
END:
Table 24 shows the security modes.