set sys sleep
<secs>
sets the sleep timer. 0 disables.
NOTE: If not using Sensor pins to wake the module, be
sure to set the wake timer before issuing the sleep
timer or the module will not wake up. See section 8.1
for more details on using system timers
set sys trigger <value>
sets the sensor input(s) to wake on (1-4). Bit-mapped
value. 0 disables.
set sys wake <secs>
sets the auto wake timer. 0 disables. See section 错误!
未找到引用源。 for more details on using system timers
3.9 TIME Server Parameters
set time address <addr>
sets the time server address. (SNTP servers)
set time port <num>
sets the time server port number. Defaults to 123 which
is almostalways the SNTP server port.
set time enable <value>
Enable or disable fetching time from the specified sNTP
time server.Default=0= disabled. A value or 1 gets time
only once on power up. Any value > 1 gets time
continuously every <value> minutes.
3.10 UART Parameters
set uart baud <rate>
set the UART baud rate. Valid settings are {2400, 4800,
9600,19200, 38400, 57600, 115200, 230400, 460800,
921600}.
Example : "set u b 9600" sets the baud rate to 9600
baud.
set uart instant <rate>
This immediately changes the baudrate. This is useful
when testing baudrate settings, or switching baudrate
"on the fly" remotely while connected over TCP. This
setting does not affect configuration.Returns the AOK
response, and then this command will exit
command mode.
set uart raw <rate>
sets a RAW UART value. Used to set non-standard
rates. The lowest possible baud rate is 2400.
Example : "set u r 7200" sets the baud rate to 7200
baud.
set uart flow <0,1>
sets the flow control mode. Default=0=off, 1= hardware
RTS/CTS.
NOTE: once flow control is enabled, it is important to
properly Drive the CTS pin (active LOW enabled) If
CTS is HIGH, data will NOT be sent out the UART, and
further configuration in command mode will be
problematic as no response will be received.
set uart mode <value>
sets the UART mode register. This is a bit-mapped
value.
Bit
Function
Value
NO ECHO - disables echo of RX data
0
while in command mode
1
Reserved for future RAW mode protocol
2
Reserved for future RAW mode protocol
3
Enable Sleep on RX BREAK signal
set uart tx <0, 1>
Disables or enables the TX pin= PIO10 of the UART.
Disable will set PIO10 to an INPUT with weak
pulldown.
NOTE: Due to an issue in the UART hardware, the
UART does not support even or odd, parity.
4.11 WLAN Parameters
set wlan auth <value>
Sets the authentication mode. Not needed unless using
auto join mode 2. i.e. set wlan join 2
Note: During association the WiFly module interrogates
the Access Point and automatically selects the
authentication mode.The current release of 2000WF
firmware supports these security modes:
• WEP-128 (open mode only, NOT shared mode)
• WPA2-PSK (AES only)
• WPA1-PSK (TKIP only)
• WPA-PSK mixed mode (some APs, not all are
supported)
Value
Authentication Mode
0
Open (Default)
1
WEP-128
2
WPA1
3
Mixed WPA1 & WPA2-PSK
4
WPA2-PSK
5
Not Used
6
Adhoc, Join any Adhoc network
set wlan channel <value>
sets the wlan channel, 1-13 is the valid range for a
fixed channel.If 0 is set, then scan is performed, using
the ssid, for all the channels set in the channel mask.
set wlan ext_antenna <0, 1>
determines which antenna is active, use 0 for chip
antenna, 1 for UF.L connector. Default = 0. Only one
antenna is active at a time and the module must be
power cycled after switching the antenna.
Need help?
Do you have a question about the ATC-2000WF and is the answer not in the manual?