Atech OEM Inc. WM100X User Manual

Page of 21
    iWEM-1000UM, Dec 30, 2010
 
Atech Technology Co., Ltd. 
7F, AAEON Building, No.43, Sec. 4, Keelung Rd, Taipei City 10607, Taiwan (R.O.C.) 
Tel: +886-2-2377-0282 
Fax: +886-2-2377-0283 
http://www.atechoem.com/
 
set_dns 
<dns_IP_addr> 
OK<CR> 
Set DNS address 
Default = 0.0.0.0 
set_protocol 
<protocol> 
OK<CR> 
Set the protocol to use 
protocol = 0, UDP 
protocol = 1, TCP client 
protocol = 2, TCP server 
Default = 1 
 
4.4.3. UART 
The UART commands are for the user to set the UART parameters like baudrate and flow control. The 
UART commands set the UART to WiFi forward packet size and flush timeout. 
 
Command 
Response 
Action and Notes 
set_baud_rate 
<baud_rate> 
OK<CR> 
Set UART port baudrate 
baudrate = {2400, 4800, 9600, 19200, 38400, 57600, 
115200} 
Default = 9600 
Please do not use undefined baudrate. The baudrate will 
not be set if undefined a baudrate are selected. 
set_mtu <mtu> 
OK<CR> 
Set forward packet sizein bytes. 
mtu = 1 to 1400 
Default = 1400 
set_flush_timeout 
<flush_timeout> 
OK<CR> 
Set UART buffer flush timeout in mS. 
flush_timeout = 0 to 50 
Default = 10 
 
4.5. Status Commands 
Status commands are for the users to get current device state and settings. The get_state command gets the 
current status of the module. The rest of commands get the setting stored in the flash memory. The setting 
stored in the flash memory will take effect after a system restart. The setting may not reflect the current 
setting. It reflects the setting after system reboot. 
 
Command 
Response 
Action and Notes 
get_state <current_state><CR> 
Get current device state. The output reflects the current 
device setting. 
Example output: