WiSnap User Manual 4.41 05282015-ML
Page 63
bytes) in hex without the preceding 0x.
set wlan linkmon
<value>
0 (disabled)
Sets the link monitor timeout threshold, where
<value>
is a decimal
number representing the number of failed scans before the module
declares
AP is Lost
and de-authenticates.
set wlan mask
<mask>
0x1FFF (all
channels)
Sets the WLAN channel mask, which is used for scanning channels with
auto-join policy 1 or 2.
set wlan phrase
<string>
rubygirl
Sets the passphrase for WPA and WPA2 security modes.
set wlan number
<value>
0
Sets the WEP key number.
set wlan rate
<value>
12
Sets the wireless data rate.
set wlan ssid
<string>
roving1
Sets the SSID with which the module associates.
set wlan tx
<value>
0
Sets the Wi-Fi transmit power, where
<value>
is a decimal number from
1 to 12 that corresponds to 1 to 12 dBm.
set wlan user
<string>
-
Reserved for future use.
Get Commands
Command
Description
get adhoc
Displays the ad hoc settings.
get broadcast
Displays the broadcast UDP address, port, and interval.
get com
Displays the communication settings.
get dns
Displays the DNS settings.
get everything
Displays all of the configuration settings, which is useful for debugging.
get ftp
Displays the FTP settings.
get ip
<char>
Displays the IP address and port number settings, where
<char>
is the optional parameter a. Using
<char>
returns the current IP address.
get mac
Displays the device’s MAC address.
get option
Displays the optional settings such as the device ID.
get sys
Displays the system settings, sleep and wake timers, etc.
get time
Displays the time server UDP address and port number.
get wlan
Displays the SSID, channel, and other WLAN settings.
get uart
Displays the UART settings.
ver
Displays the firmware version.
Status Commands
Command
Description
show battery
Displays the current battery voltage, and is only applicable to Roving Network’s battery-powered
products, such as the RN370 and temperature sensors (ISENSOR-CB).
show connection
Displays the connection status in the hex format 8
<XYZ>
.
show io
Displays the GPIO pins’ level status in the hex format 8
<ABC>
.
show net
<char>
Displays the current networks status, association, authentication, etc., where <char> is the optional
parameter
n
. Using the
n
parameter displays only the MAC address of the access point with which the
module is currently associated.
show q
<value>
Displays the value of the analog interface pin, where <value> is 0 to 7.
Show q 0x1
<mask>
Displays multiple analog interface values simultaneously.
show rssi
Displays the last received signal strength.
show stats
Displays the current statistics, packet RX/TX counters, etc.
show time
Displays the number of seconds since the module was last powered up or rebooted.
Action Commands
Command
Description
$$$
Use this command to enter command mode.
apmode
<bssid> <channel>
Creates a soft AP network.
close
Disconnects a CTP connection.
exit
Exits command mode.
factory RESET
Loads the factory defaults into the module’s RAM and writes the settings to the standard configuration