At+Cipsendex; At+Cipclose Closes The Tcp/Udp Connection - Wiznet WizFi360 User Manual

Hide thumbs Also See for WizFi360:
Table of Contents

Advertisement

<link ID>: ID of the connection
(0~4), for multiple connections.
<length>: data length, MAX: 2048
bytes.
Parameters
[<remote IP>]: remote IP can be set
in UDP transmission.
[<remote port>]: remote port can be
set in UDP transmission.

10.3.2.4. AT+CIPSENDEX

1. Single connection: (+CIPMUX=0)
AT+CIPSENDEX=<1ength>
2. Multiple connections: (+CIPMUX=1)
AT+CIPSENDEX=<1inkID>,<1ength>
Command
3. Remote IP and ports can be set in UDP transmission:
4. AT+CIPSENDEX=[<link ID>,]<length>[,<remote IP>,<remote port>]
Function: to configure the data length in normal transmission mode
Send data of designated length
Wrap return > after the Set Command. Begin receiving serial data. When the
requirement of data length,
determined by <length>, is met, or when \0
starts.
Response
If connection cannot be established or gets disconnected during transmission, the
system returns:
ERROR
If data are successfully transmitted, the system returns:
SENDOK
<1ink ID>: ID of the connection (0~4), for multiple connections.
<length>: data length, MAX: 2048 bytes.
When the requirement of data length, determined by <length>, is met, or when \0
Parameters
appears, the transmission of data starts. Go back to the normal command mode
and wait for the next AT command.
When sending \0, please send it as \\0.

10.3.2.5. AT+CIPCLOSE Closes the TCP/UDP Connection

AT+CIPCLOSE=<link ID>
Commands
OK
Response
<linkID>: ID of the connection to be
Parameters
closed. When ID is 5, all connections
WizFi360 User Manual
-
appears in the data, the transmission
AT+CIPCLOSE
-

Advertisement

Table of Contents
loading

Table of Contents