EasyManua.ls Logo

Quectel BG96 TCP/IP

Quectel BG96 TCP/IP
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LPWA Module Series
BG96 TCP/IP Application Note
BG96_TCP/IP_Application_Note 15 / 52
Parameter
If there is any error:
ERROR
Error description can be got via AT+QIGETERROR.
If <access_mode>=0 or 1:
OK
+QIOPEN: <connectID>,<err>
<err> is 0 when the service is opened successfully. In other
cases, <err> is not 0.
Maximum Response Time
300 s, determined by network.
Characteristics
/
<contextID> Integer type. Context ID. Range: 116.
<connectID> Integer type. Socket service index. Range: 011.
<service_type> String type. Socket service type.
"TCP" Start a TCP connection as a client
"UDP" Start a UDP connection as a client
"TCP LISTENER" Start a TCP server to listen to TCP connection
"UDP SERVICE" Start a UDP service
<IP_address> String type.
If <service_type> is "TCP" or "UDP", it indicates the IP address of a 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. It is only valid when <service_type>
is "TCP" or "UDP", and in such as case, the range is 065535. Otherwise, any value
in the range of 065535 will not take effect.
<local_port> Integer type. Local port number. Range: 065535.
If <service_type> is "TCP LISTENER" or "UDP SERVICE", this parameter must be
specified.
If <service_type> is "TCP" or "UDP", <local_port> will be 0, then the local port will
be assigned automatically. In this case, the value 0 will be used if it is omitted.
<access_mode> Integer type. Data access mode of the socket service.
0 Buffer access mode
1 Direct push mode
2 Transparent access mode
<err> Integer type. Error code of operation. Please refer to Chapter 4.

Table of Contents

Related product manuals