
GSM Module
recommended), it will trigger the transmitting process.
Example AT+ZTCPSENDP=10
>1234567890
+ZTCPSEND(P):OK
OK
Send 10 characters through
the monitored link.
Note
Prior to the use of this command, the monitored connection must be
established.
2.13.3
+ZTCPCLOSEP: close monitored connection
Description
This command is used to close the monitored connection.
Format
AT+ZTCPCLOSEP=<channel>
Descriptions of
returned value
OK: connection closed
ERROR: link not existed or other error
Example
at+ztcpclosep
+ZTCPCLOSEP:OK
OK
Close the No.1 connection
monitored
Note
Prior to the use of this command, the monitored connection must be
established.
2.13.4
+ZTCPRECV(P): receive data report
Descriptio
n
This command is used to receive data report
Format
+ZTCPRECV(P):<channel>,<dataLength>,data
Paramete
r
Channel: upon multiple connections, mark the connection through which
transmits the data.
dataLength: the length of received data
Data: received data
Example
+ZTCPRECV(P):1050,
78901234567890123456789012345678901234
56789012345678012345678901234567890123
45678901234567890123456789012345678901
23456789012345678012345678901234567890
12345678901234567890123456789012345678
90123456789012345678012345678901234567
89012345678901234567890123456789012345
67890123456789012345678012345678901234
56789012345678901234567890123456789012
34567890123456789012345678012345678901
23456789012345678901234567890123456789
01234567890123456789012345678012345678
90123456789012345678901234567890123456
78901234567890123456789012345678012345
1050 characters received
61