EasyManua.ls Logo

Quectel BG95 Series - Pin Assignment

Quectel BG95 Series
57 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
BG95&BG77&BG600L Series TCP/IP Application Note
BG95&BG77&BG600L_Series_TCP/IP_Application_Note 21 / 56
Parameter
<query_type>
Integer type. Query type.
0 Query connection status of all socket services in a specified context
1 Query connection status of a specified socket service
<contextID>
Integer type. Context ID. Range: 116.
<connectID>
Integer type. Socket service index. Range: 011.
<service_type>
String type. The 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 for TCP incoming connections
"TCP INCOMING" Start a TCP connection accepted by a TCP server
"UDP SERVICE" Start a UDP service
<IP_address>
String type. IP address.
If <service_type> is "TCP" or "UDP", it is the IP address of a remote server.
If <service_type> is "TCP LISTENER" or "UDP SERVICE", it is the local IP
address.
If <service_type> is "TCP INCOMING", it is the IP address of a remote client.
<remote_port>
Integer type. Remote port number.
If <service_type> is "TCP" or "UDP", it is the port of a remote server.
If <service_type> is "TCP LISTENER" or "UDP SERVICE", the port is invalid.
If <service_type> is "TCP INCOMING", it is the port of a remote client.
<local_port>
Integer type. Local port number.
If <local_port> is 0, then the local port is assigned automatically.
<socket_state>
Integer type. Socket service status.
0 "Initial": connection has not been established
1 "Opening": client is connecting or server is trying to listen
2 "Connected": client/incoming connection has been established
3 "Listening": server is listening
4 "Closing": connection is closing
<serverID>
Integer type. Only valid when <service_type> is "TCP INCOMING". <serverID>
represents the ID of the server that accepts this TCP incoming connection, and the
value is the same as <connectID> of "TCP LISTENER".
<access_mode>
Integer type. Data access mode.
0 Buffer access mode
1 Direct push mode
2 Transparent transmission mode
<AT_port>
String type. COM port of socket service.
"usbmodem" USB modem port
"uart1" UART1 port

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals