Description Of Data Access Modes - Quectel BG96 TCP/IP Application Note

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

Advertisement

1.2. Description of Data Access Modes

BG96 module supports the following three data access modes:
Buffer access mode
Direct push mode
Transparent access mode
When opening a socket service via AT+QIOPEN, the data access mode can be specified by
<access_mode>. After the socket service is opened, AT+QISWTMD allows switching between the
access modes as needed.
1.
In buffer access mode, data can be sent via AT+QISEND, and if the module has received the data
from the Internet, it will buffer the data and report the URC +QIURC: "recv",<connectID>. The
received data can be read via AT+QIRD.
2.
In direct push mode, data can be sent via AT+QISEND, and if the module has received the data from
the Internet, the data will be outputted to COM port directly in the following format:
+QIURC: "recv",<connectID>,<currectrecvlength><CR><LF><data>.
3.
In transparent access mode, the corresponding port (such as UART, USB modem port, etc.) enters
exclusive mode. The data received from COM port will be sent to the Internet directly, and the data
received from the Internet will be outputted via COM port directly. +++ can be used to exit from
transparent access mode. When OK is returned, the module will be switched to buffer access mode.
AT+QISWTMD can be used to switch back to transparent access mode.
Exit from transparent access mode
To exit from the transparent access mode, +++ or DTR (AT&D1 should be set first) can be used. To
prevent the +++ from being misinterpreted as data, the following sequence should be followed:
1)
Do not input any character within 1 s or longer before inputting +++.
2)
Input +++ within 1 s, and no other characters should be inputted during the time.
3)
Do not input any character within 1 s after +++ has been inputted.
4)
Use +++ or DTR (AT&D1 should be set first) to make the module exit from transparent access
mode, and wait until OK is returned.
Return back to transparent access mode
1)
By AT+QISWTMD. Specify <access_mode> as 2 when executing this command. When
transparent access mode is entered successfully, CONNECT will be returned.
2)
By ATO. After a connection exits from transparent access mode, executing ATO will switch the
data access mode back to transparent access mode again. When transparent access mode is
entered successfully, CONNECT will be returned. If no connection enters transparent access
mode before, ATO will return NO CARRIER.
BG96_TCP/IP_Application_Note
LPWA Module Series
BG96 TCP/IP Application Note
8 / 52

Advertisement

Table of Contents
loading

Table of Contents