CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 42 -
http://www.sollae.co.kr
Reset automatically
◀
<CR><LF>OK<CR><LF>
Command OK
◀
<CR><LF>NO CARRIER<CR><LF>
System Reset
6.6
Example of TCP Connection
6.6.1
Example of Active Connection
Serial Port
Description
AT+PRIP=192.168.1.201<CR>
▶
Setting remote IP address to
connect
◀
<CR><LF>OK<CR><LF>
Command OK
AT+PRP=1470<CR>
▶
Setting remote port number to
connect
◀
<CR><LF>OK<CR><LF>
Command OK
ATDT<CR>
▶
Connecting to the host
Attempting to connect to the host
◀
<CR><LF>CONNECT<CR><LF>
TCP connection success
Data Communication
6.6.2
Example of Active Connection with a host name
Serial Port
Description
AT+PNIP=168.126.63.1<CR>
▶
Setting name server
S IP address
◀ <CR><LF>OK<CR><LF>
Command OK
AT+PRHN=”www.sollae.co.kr”<CR>
▶
Setting a hostname to connect
After setting CSE-H21 query an IP
address to the specified name
server.
After getting the IP address, it set
to the +PRIP field.
◀ <CR><LF>OK<CR><LF>
Command OK
AT+PRP=1470<CR>
▶
Setting remote port number to
connect
◀ <CR><LF>OK<CR><LF>
Command OK
ATDT<CR>
▶
Connecting to the host
Attempting to connect to the host