WiSnap User Manual 4.41 05282015-ML
Page 36
0200
IBSS (ad hoc mode)
1000
Privacy (secure with WEP or WAP)
2000
Short preamble
Table: WPA Bit Mask Values
Bit Mask Value
Description
04
WPA_UNICAST_TKIP
08
WPA_UNITCAST_AES_CCMP
10
WPA_BROADCAST_TKIP
20
WPA_BROADCAST_AES_CCMP
Table: WPS Bit Mask Values
Bit Mask Value
Description
02
WPS_PushButton_ACTIVE
40
WPS_SUPPORTED
80
WPS_PushButton_SUPPORTED
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 this scan format is described below:
Security
Mode
Open
WEP
WPA-PSK
WPS2-PSK
WAP-Enterprise
WPA2-Enterprise
Code
0
1
2
4
6
8
10.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: 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
Unused
0-13
Unused
1 = OK
1 = OK
0 = Idle