Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W07 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
26
+ERR:[NUM]
Error
Parameter
LinkID
Connection ID. 0~7
Length
The length of the data to be sent
Description
1. Effective immediately;
2. After the instruction is sent, the module returns ‘>’, providing data that can be input
3. The module only returns to the AT command mode after receiving data of the specified length;
4. The maximum length of Len is 11520 bytes;
Example
AT+CIPSEND=1
,
10
+OK
>
Enter "Hello Mesh." from the serial port
5.6.6 AT+CIPDINFO TCP output data configuration
Instruction
Answer
Inquiry
AT+CIPDINFO=[enable]
+OK
Success
+ERR:[NUM]
Error
Parameter
enable
0
Prohibit the output of data is to carry the address of the other
party
1
(
default
)
Enable output data to carry the address of the other party
Description
1. Effective immediately, save when power off;
2. This command affects all output data formats
Example
AT+CIPDINFO=1
5.6.7 +IPD receive TCP UDP data
+IPD
:
[LinkID],[Length],[“RemoteIp“],[RemotePort],[Data]
Parameter
LinkID
Connection ID
Length
The length of the Data field.
RemoteIp
Remote IP
RemotePort
Remote Port
Description
1. After receiving TCP UDP data, actively report;
2. When the data is received, the command is output first, followed by the actual data.
3. If the output data length is greater than 1440 bytes, it will be output in packets.
Example
1. When AT+CIPDINFO=1:
+IPD: 1,10,"192.168.0.244",60001
Hello Mesh.
2. When AT+CIPDINFO=0
+IPD: 1,10
Hello Mesh.