Tcp Connection - Wiznet WizFi360 User Manual

Hide thumbs Also See for WizFi360:
Table of Contents

Advertisement

+CIPDOMAIN:<IP address>
OK
or
Response
DNS Fail
ERROR
<domain name>: the domain name, length should be less than 64 bytes.
Parameter
AT+CWMODE=1
AT+CWJAP="WIZnet","wiznet2018"
Example
AT+CIPDOMAIN="www.baidu.com"
10.3.2.2. AT+CIPSTART

TCP Connection:

Single TCP connection
(AT+CIPMUX=0):
Set
AT+CIPSTART=<type>,<remote IP>,
Command
<remote port>[,<TCP keep alive>]
OK
or
ERROR
Response
If the TCP connection is already established, the response is:
ALREADY CONNECTED
<link ID> ID of network connection (0~4), used for multiple connections.
<type>: string parameter indicating the connection type: "TCP", "UDP"
<remote IP>: string parameter indicating the remote IP address.
<remote port>˖the remote port number
Parameters
[<TCP keep a1ive>]: detection time interval when TCP is kept alive; this
function is disabled by default.
AT+CIPSTART="TCP","www.baidu.com",9527
Examples
AT+CIPSTART="TCP","192.168.4.2",1000
UDP Transmission:
Single connection (AT+CIPMUX=0):
AT+CIPSTART=<type>,<remote IP>,
Set
<remote port>[,(<UDP local port>),
Command
(<UDP mode>)]
OK
Response
or
WizFi360 User Manual
Establishes TCP Connection, UDP Transmission
0: disable TCP keep-alive.
1 ~ 7200: detection time interval; unit: second (s).
Multiple TCP Connections
(AT+CIPMUX=1):
AT+CIPSTART=<link ID>,<type>,
<remote IP>,<remote port>[,<TCP keep
alive>]
Multiple connections (AT+CIPMUX=1):
AT+CIPSTART=<link ID>,<type>,
<remote IP>,<remote port>
[,(<UDP local port>),(<UDP mode>)]

Advertisement

Table of Contents
loading

Table of Contents