Waveshare WIFI232-B2 User Manual page 69

Table of Contents

Advertisement

WIFI232-B2 User Manual
Query Operation:
AT+TCPTO<CR>
+ok=<time><CR><LF><CR><LF>
Set Operation:
AT+TCPTO=<time><CR>
+ok<CR><LF><CR><LF>
Parameters:
time: <= 600s, >=0s. It is 300s by default.
TCP timeout: Begin accounting when the TCP channel doesn't receive any data and
clear when receive. If the account is bigger than the TCPTO value, the module will
disconnect. If the module works as TCP Client, it will initiatively reconnect to TCP Server.
If the module works as TCP server, it requires TCP Client to reconnect to module
initiatively.
5.2.1.23 AT+MAXSK
Function: Set/Query the maximum TCP connection
Format:
Query Operation:
AT+MAXSK<CR>
+ok=<num><CR><LF><CR><LF>
Set Operation:
AT+MAXSK=<num><CR>
+ok<CR><LF><CR><LF>
Parameters:
num: Maximum number of TCP connection. Supports 1~32. It is 32 by default
Note: If the module works as TCP Server, it supports connect to up to 32 clients. If users
needn't to connect so much client, can reduce this value.
5.2.1.24 AT+TCPB
Function: Enable/Disable TCPB function
Format:
69 / 102

Advertisement

Table of Contents
loading

Table of Contents