Quectel BG96 TCP/IP Application Note page 18

Lpwa module
Hide thumbs Also See for BG96 TCP/IP:
Table of Contents

Advertisement

Write Command
If <query_type> is 0, query the
connection status of a specified context
AT+QISTATE=<query_type>,<context
ID>
Write Command
If
<query_type>
is
connection status of a specified socket
service
AT+QISTATE=<query_type>,<connect
ID>
Maximum Response Time
Characteristics
Parameter
<query_type>
Integer type. Query type.
0
1
<contextID>
Integer type. Context ID. Range: 1–16.
<connectID>
Integer type. Socket service index. Range: 0–11.
<service_type> String type. Socket service type.
"TCP"
"UDP"
"TCP LISTENER"
"TCP INCOMING"
"UDP SERVICE"
<IP_address>
String type. IP address.
If <service_type>="TCP" or "UDP", it is the IP address of remote server.
If <service_type>="TCP LISTENER" or "UDP SERVICE", it is the local IP address.
If <service_type>="TCP INCOMING", it is the IP address of remote client.
<remote_port> Integer type. Remote port number.
BG96_TCP/IP_Application_Note
emote_port>,<local_port>,<socket_state>,<contextID>,<s
erverID>,<access_mode>,<AT_port>
[...]
OK
Response
Return the status of all existing connections in a specified
context:
+QISTATE: <connectID>,<service_type>,<IP_address>,<r
emote_port>,<local_port>,<socket_state>,<contextID>,<s
erverID>,<access_mode>,<AT_port>
[...]
OK
Response
1,
query
the
+QISTATE: <connectID>,<service_type>,<IP_address>,<r
emote_port>,<local_port>,<socket_state>,<contextID>,<s
erverID>,<access_mode>,<AT_port>
OK
300 ms
/
Query connection status of all socket services in a specified context
Query connection status of a specified socket service
Start a TCP connection as a client
Start a UDP connection as a client
Start a TCP server to listen to TCP connection
Start a TCP connection accepted by a TCP server
Start a UDP service
LPWA Module Series
BG96 TCP/IP Application Note
17 / 52

Advertisement

Table of Contents
loading

Table of Contents