Download Print this page

ATC -2000WF Quick Start Manual page 10

Wi-fi to rs-232/422/485

Advertisement

that DNS is working and proves the device
has internet connectivity).
ping 0
terminates a ping command
reboot
forces a reboot of the device (similar to
power cycle)
scan <time>
Performs an active probe scan of
access points on all 13 channels.Returns MAC address,
signal strength, SSID name, security mode.Default
scan time is 200ms / channel = about 3 seconds.time is
an optional parameter, this is the time in ms per
channel.For example, "scan 30" reduces the total scan
time down to about 1 second. This command also
works in Adhoc mode (version 2.11).
time
Sets the Real time clock by synchronizing with
the time server specified with the time server
parameters (see section 5.9) This command sends a
UDP time server request packet.
7.0 FILE IO Commands
del <name> <num>
Deletes a file. Optional <num> will override the name
and use the sector number shown in the "ls" command.
load <name>
Reads in a new config file.
Ls Displays the files in the system
Save Saves the configuration to "config" (the default
file).
save <name>
Saves the configuration data to a new file name
boot image <num>
Makes file <num> the new boot image.
ftp get <name>
Retrieves a file from the remote FTP server.
<name> not specified, the stored ftp filename is used.
ftp update <name>
Deletes the backup image, retrieves new image and
updates the boot image.
8.0 Advanced Features and Settings
8.1 System Timers and Auto Connect Timers
There are 2 timers that can be used to put the module
to sleep, and perform a wake up. If the sleep timer is
enabled, the module will automatically go into deep
sleep, low power mode once the timer counts down to
0. The sleep timer is disabled if the module has an IP
connection, or the module is in COMMAND mode. The
timer is reset when characters are received on the
UART.
The sleep timer is set with : set sys sleep <time>
time=decimal in seconds.
The wake timer will bring the module out of deep sleep.
The wake timer is set with: set sys wake <time>
time=decimal in seconds.
For example, if you wanted the module to wake up, join
a network and be available to accept TCP
connections for 30 seconds every 2 minutes you would
set the timers as such
set wlan ssid my_net
set wlan passphrase my_pass
set sys sleep 30
set sys wake 90
save
reboot
UDP sleep, and Connection timers
If
There is another timer than can be used to put the
device to sleep.
In UDP protocol mode, the autoconn timer is used as
an auto-sleep timer.
Upon the start of transmission of the first UDP data
packet this timer will count down.
set sys autosleep <value> UDP mode: sets the
auto-sleep timer. 0 disables
the timer is decremented every xx milliseconds, based
on the value of the comm flushtimer. Using a minimum
value of 2 (when the default flushtime=10 ms) is
recommended to ensure that the UDP packet gets
transmitted. For larger packets the value should be
increased.
In TCP-Client mode, the auto-conn timer is used as a
connect out timer. If set, the device will
automatically attempt a connection when the timer
expires.
set sys autoconn <secs>
In TCP-Client AND TCP-Server mode, there is also a
disconnect timer.
set comm idle <secs> sets the idle disconnect timer.
This causes a disconnect if no transmit or
receive data is seen.
8.2 UART Receiver, RTS/CTS Hardware Flow
Control
The UART receive buffer is approx. 1024 bytes, and at
lower baudrates (9600, 19200) the system
can process data into the device without need for flow
control.
If constant streaming of data into RX on the device is
required, care should be taken to set the

Advertisement

loading
Need help?

Need help?

Do you have a question about the ATC-2000WF and is the answer not in the manual?

Subscribe to Our Youtube Channel