OK
AT+QIRD=11,0
+QIRD: 4,4,0
OK
3.6.4. Close a TCP Server
AT+QICLOSE=11
OK
AT+QICLOSE=1
OK
3.7. TCP Server Works in Buffer Access Mode under IPv6
3.7.1. Start a TCP Server
AT+QIOPEN=1,1,"TCP LISTENER","0:0:0:0:0:0:0:1",0,12345,0
OK
+QIOPEN: 1,0
AT+QISTATE=0,1
+QISTATE: 1,"TCP LISTENER","2001:468:2100:1:2001:468:2100:1",0,12345,3,1,1,0,"usbmodem"
OK
3.7.2. Accept TCP Incoming Connection
+QIURC:
"incoming",11,1,"2001:468:2100:1:0:0:0:0",54091
BG96_TCP/IP_Application_Note
BG96 TCP/IP Application Note
//Query the total length of retrieved data, including
read and unread data.
//Close the incoming connection. Depending on the
network, the maximum response time is 10 seconds.
//Close TCP server listening.
//Context is 1 and <connectID> is 1.
Before using AT+QIOPEN, the host should
activate the context with AT+QIACT first.
//TCP server is opened successfully.
//Query whether the connection state of
<contextID> is 1.
//Accept
<service_type>
<connectID> is 11.
LPWA Module Series
a
TCP
connection,
is
"TCP
incoming",
43 / 52
and
Need help?
Do you have a question about the BG96 TCP/IP and is the answer not in the manual?
Questions and answers