Quectel BG95 Series Application Note page 19

Hide thumbs Also See for BG95 Series:
Table of Contents

Advertisement

Write Command
AT+QIOPEN=<contextID>,<connectI
D>,<service_type>,<IP_address>/<d
omain_name>,<remote_port>[,<local
_port>[,<access_mode>]]
Maximum Response Time
Characteristics
Parameter
Integer type. Context ID. Range: 1–16.
<contextID>
<connectID>
Integer type. Socket service index. Range: 0–11.
<service_type>
String type. The socket service type.
"TCP"
"UDP"
"TCP LISTENER"
"UDP SERVICE"
String type.
<IP_address>
If <service_type> is "TCP" or "UDP", it indicates the IP address of remote server,
such as "220.180.239.212".
If <service_type> is "TCP LISTENER" or "UDP SERVICE", enter "127.0.0.1".
<domain_name>
String type. Domain name address of the remote server.
<remote_port>
Integer type. Port number of the remote server. Range: 0–65535.
If <service_type> is "TCP" or "UDP", this parameter must be specified. Range:
1–65535.
BG95&BG77&BG600L_Series_TCP/IP_Application_Note
BG95&BG77&BG600L Series TCP/IP Application Note
SERVICE","<IP_address>/<domain_name>",(range
supported
<remote_port>s),(range
<local_port>s),(range of supported <access_mode>s)
OK
Response
If in transparent transmission mode (<access_mode>=2)
and the service is opened successfully:
CONNECT
If there is any error:
ERROR
Error description can be got via AT+QIGETERROR.
If in buffer access mode (<access_mode>=0) or direct push
mode (<access_mode>=1):
OK
+QIOPEN: <connectID>,<result>
<result> is 0 when the service is opened successfully. In
other cases, <result> is not 0.
150 seconds, determined by the network.
/
Start a TCP connection as a client
Start a UDP connection as a client
Start a TCP server to listen for TCP incoming connections
Start a UDP service
LPWA Module Series
of
of
supported
18 / 56

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bg77 seriesBg600l series

Table of Contents