WiSnap User Manual 4.41 05282015-ML
Page 35
set sys printlvl
<value>
-
sets additional print functions. Value is a bit-mapped register that controls which printout
messages are sent to the UART. See Section 5.8,
set sys
parameters for more information.
10.7 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 Security Modes below)
Capabilities
Bit-mapped 4 hex bytes (see Table Capabilities Bit Mask Values below)
WPA Configuration
Bit-mapped 2 hex bytes (see Table WPA Bit Mask Values below)
WPS Mode
Bit-mapped 2 hex bytes (see Table WPS Bit Mask Values)
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,sdef
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,UMONEY
END:
Table: Security Modes
Number
Description
0
OPEN
1
WEP (64 or 128)
2
WPA1
3
MIXED
4
WPA2
5
Enterprise WEP
6
Enterprise WPA1
7
Enterprise WPA mixed
8
Enterprise WPA2
9
Enterprise NO security
Table: Capabilities Bit Mask Values
Bit Mask Value
Description
0004
Short slot time
0100
ESS (infrastructure mode)