
GSM Module
2.13.7
+ZTCPTIMEOUT: set the timeout for receiving data
Description
This command is used to set the timeout for receiving data.
Format
AT+ZTCPTIMEOUT=<recv_data_timeout>
Description of
parameters
If the module does not receive the data within the specified time, it
will close the connection, otherwise, the number of connections
exceeds the limit, other client-ends can not be connected.
The default value is 0 and it means the timeout is no needed.
Descriptions of
returned value
OK Succeeded
ERROR Failed
Example
at+ztcptimeout=?
+ZTCPTIMEOUT:(0-18000)
OK
at+ztcptimeout=30
OK
at+ztcptimeout?
+ZTCPTIMEOUT:30
OK
Check the range of
timeout value
Set the timeout
Check the range of
current timeout
64