EasyManua.ls Logo

Quectel BG95 Series - TCP Client Works in Transparent Transmission Mode; Set up a TCP Client Connection and Enter Transparent Transmission Mode; Send Data in Transparent Transmission Mode; Retrieve Data from Remote Server in Transparent Transmission Mode

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 43 / 56
3.4. TCP Client Works in Transparent Transmission Mode
3.4.1. Set up a TCP Client Connection and Enter Transparent Transmission Mode
3.4.2. Send Data in Transparent Transmission Mode
3.4.3. Retrieve Data from Remote Server in Transparent Transmission Mode
3.4.4. Close a TCP Client
3.5. TCP Client Works in Direct Push Mode
3.5.1. Set up a TCP Client Connection and Enter Direct Push Mode
//Context is 1 and <connectID> is 0. Before using AT+QIOPEN, the host should activate the context
with AT+QIACT first.
AT+QIOPEN=1,0,"TCP","220.180.239.212",8009,0,2
CONNECT //TCP client connected successfully. It is
suggested to wait for 150 seconds for the URC
CONNECT. If the URC cannot be received in
150 seconds, the host could use AT+QICLOSE
to close the socket.
<All data got from COM port will be sent to internet directly>
Test 1 //All data received from internet is outputted via COM port directly.
AT+QICLOSE=0 //After using +++ to exit from the transparent transmission mode, the
host could use AT+QICLOSE to close the TCP link. Depending on
the network, the maximum response time is 10 seconds.
OK
AT+QIOPEN=1,0,"TCP","220.180.239.212",8009,0,1 //Context is 1 and <connectID> is 0. Before
using AT+QIOPEN, the host should activate
the context with AT+QIACT first.
OK

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals