CSE-H25 User
’
s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 38 -
http://www.sollae.co.kr
◀
<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 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-H25 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.