CSE-H20 User's Manual Ver. 1.8
Sollae Systems Co., Ltd.
- 32 -
http://www.sollae.co.kr
7.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
7.6.2
Example of Active Connection with host name
Serial Port
Description
AT+PNIP=168.126.63.1<CR>
▶
Setting the name server’s IP address to
connect
◀
<CR><LF>OK<CR><LF>
Command OK
AT+PRHN=”www.sollae.co.kr”<CR> ▶
Setting the host name to connect
After this command, CSE-H20 query the
host name to the name server.
After getting the IP address, it sets to the
+PRIP parameter.
◀
<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
When being established the active TCP connection, the [Local] Port number may be
changed to temporary values.
7.6.3
Example of passive Connection
Serial Port
Description
AT+PLP=1470<CR>
▶
Set LOCAL PORT to listen
◀
<CR><LF>OK<CR><LF>
Command OK
ATA<CR>
▶
Passive connection command
Listen on local port from a host