- 38 -
Online command
state
While TCP connection is not established, AT commands can be
used.
Online state
While TCP connection is established, all data are converted to
TCP/IP.
6.4.1.
How to switch to online command state from online state
In order to switch from online state to online command state, it is necessary to send a
‘+++’ message in proper format within specified time. The ‘+++’ message will be sent to
the peer host.
The time interval between the last data transmission
and inputting the first ‘+’
500ms or up
The time between ‘+’s
0~500ms
The interval which is no data transmission after the
last ‘+’
500ms or up
6.4.2.
How to switch to online command state
In case the system has been switched from online state to online command state while
TCP connection is established, it can be switched back to online state by ATO command.
6.5.
Example of Configuration by AT Commands
Transmission Data
Description
AT+PLIP=192.168.1.200<CR>
▶
Set local IP address
◀
OK<CR><LF>
Command OK
AT+PGIP=192.168.1.254<CR>
▶
Set gateway IP address
◀
OK<CR><LF>
Command OK
AT+PSM=255.255.255.0<CR>
▶
Set subnet mask
◀
OK<CR><LF>
Command OK
AT+PLP=1470<CR>
▶
Set local port
◀
OK<CR><LF>
Command OK
AT+PTO=10<CR>
▶
Set TIME OUT
◀
OK<CR><LF>
Command OK
AT+PWP<CR>
▶
Save configuration data to the EEPROM
◀
OK<CR><LF>
Command OK