![USR IOT USR-DR404 User Manual Download Page 69](http://html.mh-extra.com/html/usr-iot/usr-dr404/usr-dr404_user-manual_1064542069.webp)
USR-DR404 user manual
Jinan USR IOT Technology Limited
69
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ TCPTO=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time.: TCP timeout, <= 600 (600s), >=0 (0 means no timeout), default is 0.
TCP timeout: The module TCP channel starts counting when no data is received, and clears the count when data is received.
If the timing exceeds the TCPTO time, the connection is disconnected. When the module works on the TCP Client, it will
actively reconnect to TCP Server. When as a TCP server, TCP client needs to actively reconnect.
4.3.4.23. AT+MAXSK
Function: Query /Set the maximum number of TCP connections
Format:
Query : AT+ MAXSK<CR>
+ok=<num><CR>< LF ><CR>< LF >
Setting: AT+ MAXSK =<num ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
num: maximum number of TCP connections, range: 1~24, default is 24.
When set to TCP Server, the module can support a maximum of 24 TCP connections. If users do not need so many
connections, can set to reduce appropriately.
4.3.4.24. AT+TCPB
Function: Enable/Disable socket B.
Format:
Query : AT+TCPB <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ TCPB=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta.: Returns whether socket B is enabled.
on, enable
off, disable
After restarting the module, parameters take effect.