WiSnap User Manual 4.41 05282015-ML
Page 62
set ip remote
<value>
2000
Sets the remote host port number.
set ip tcp-mode
<mask>
0x0
Controls the TCP connect timers, DNS preferences, and remote
configuration options.
set opt average
<value>
5
Sets the number of RSSI samples used to calculate the running RSSI
average.
set opt deviceid
<string>
WiFly-
XXX
Sets the configurable device ID, where
XXX
is
GSX
for the RN131 and
EZX
for the RN171.
set opt format
<flag>
0x00
Sets the HTTP client/web server information.
set opt jointmr
<value>
1000
Sets the join timer, which is the length of time (in ms) the join function
waits for the access point to complete the association process.
set opt replace
<char>
$ (0x24)
Sets the replacement character you use to indicate spaces in the SSID
and pass phrases, where
<char>
is a single character.
set opt password
<string>
“” (no password
required)
Sets the TCP connection password.
set opt signal
<value>
0
Configures the threshold level for the RSSI value in infrastructure mode.
set q power
<value>
0
Automatically turns on the sensor power.
set q sensor
<mask>
0
Specifies which sensor pins to sample when sending data using the UDP
broadcast packet or the HTTP auto sample function.
set sys autoconn
<value>
0
Sets the auto-connect timer in TCP mode.
set sys autosleep
<value>
0
Sets the auto-sleep timer in UDP mode.
set sys iofunc
<mask>
0x0
Sets the I/O port alternate functions.
set sys launch_string
<string>
web_app
Sets the application to launch when GPIO9 is high after power up.
set sys mask
<mask>
0x20F0 (RN131)
0x21F0 (RN171)
Sets the I/O port direction.
set sys printlvl
<value>
0x1
Controls the debug print messages printed by the WiSnap module on the
UART.
set sys output
<mask>
<mask>
None
Sets the output GPIO pins high or low. The optional
<mask>
sets a subset
of the pins.
set sys sleep
<value>
0
Sets the sleep timer.
set sys trigger
<flag>
or
<mask>
0x1
With this parameter setting, the module wakes from sleep state using
the sensor input 0, 1, 2, and 3.
set sys value
<mask>
0x0
Sets the default value of the CPIO pins’ outputs upon power-up.
set sys wake
<value>
0
Sets the automatic wake timer in seconds.
set time address
<address>
64.90.182.55
Sets the time server address.
set time enable
<value>
0
Tells the module how often to fetch the time from the specified SNTP
time server in minutes.
set time port
<value>
123
Sets the time server port number.
set time raw
<value>
None
Allows you to set the RTC raw value from the console in seconds.
set uart baud
<value>
9600
Sets the UART baud rate, where
<value>
is 2400, 4800, 9600, 19200,
38400, 57600, 115200, 230400, 460800, or 921600.
set uart flow
<value>
0
Sets the flow control mode and parity.
set uart instant
<value>
Not applicable
Immediately changes the baud rate, where
<value>
is 2400, 4800, 9600,
19200, 38400, 57600, 115200, 230400, 460800, or 921600.
set uart mode
<mask>
0
Sets the UART mode register.
set uart raw
<value>
Not applicable
Sets a raw UART value.
set uart tx
<value>
Not applicable
Disables or enables the UART’s TX pin (GPIO10), where
<value>
is 1 or 0.
set wlan auth
<value>
0
Sets the authentication mode.
set wlan channel
<value>
<flag>
0
Sets the WLAN channel, where
<value>
is a decimal number from 1 to 13
representing a fixed channel and
<flag>
is the optional character
i
(meaning immediate).
set wlan ext_antenna
<value>
0
Determines which antenna is active, where
<value>
is 0 (use the chip
antenna) or 1 (us the U.FL connector).
set wlan fmon
<value>
3600
Sets the soft AP mode link monitor timeout threshold for the associated
client device.
set wlan id
<string>
-
Reserved for future use.
set wlan hide
<value>
0
Hides the WEP key and WPA passphrase, where
<value>
is 0 or 1.
set wlan join
<value>
1|0
Sets the policy for automatically associating with network access points.
set wlan key
<value>
Not applicable
Sets the 128-bit WEP key, where
<value>
is EXACTLY 26 ASCII chars (13