Wiznet WizFi360 At Instruction Set page 48

Hide thumbs Also See for WizFi360:
Table of Contents

Advertisement

b. Establish communication UDP
Command string
AT+CIPSTART=[<ID>,]<type>,<remote IP>,<remote port>[,<UDP local port>,<UDP
mode>]
<ID>: Network connection ID (0 ~ 4), it is used in case of multiple connection
<type>: connection type, it should select the "TCP", "UDP" or "SSL",
<remote IP>: destination IP address or domain name
<remote Port>: Destination port number, in the range of 1 ~ 65535 (The default local port number is
333, the registered local port numbers should be avoided, see Appendix 1
<UDP Local port>: Local port number, in the range of 1 ~ 65535 (The default local port number is 333,
Parameters
the registered local port numbers should be avoided, see Appendix 1)
and
description
<UDP mode>: UDP transparent transmission, if the data transparent mode, then this parameter must
be 0
- 0: the destination peer entity of UDP will not change; this is the default setting. –
- 1: the destination peer entity of UDP can change once.
- 2: the destination peer entity of UDP is allowed to change.
Note: The use of <UDP mode> Parameter must configure <UDP Local port> Parameter
\r\n
OK\r\n
or
\r\n
Return Values
ERROR\r\n
and
descriptions
or
\r\n
ALREADY CONNECTED\r\n
(If the UDP communication is established)
Predecessors
no
Command: AT+CIPSTART="UDP","192.168.1.99",5000\r\n
Example 1
Reply:\r\n
OK\r\n
Example 2
Command: AT+CIPSTART=1,"UDP","www.iwiznet.cn",5000,6000,2\r\n
WizFi360 AT command
Function Description
UDP Open

Advertisement

Table of Contents
loading

Table of Contents