LPWA Module Series
BG96 TCP/IP Application Note
BG96_TCP/IP_Application_Note 23 / 52
2.2.10. AT+QISWTMD Switch Data Access Mode
The Write Command switches data access mode between buffer access mode, direct push mode and
transparent access mode. When starting a socket service, the data access mode can be specified by
<access_mode> of AT+QIOPEN. After the socket is opened, the data access mode can be changed via
AT+QISWTMD.
Parameter
2.2.11. AT+QPING Ping a Remote Server
The Write Command tests the Internet protocol reachability of a host. Before using ping tools, the host
should activate the context corresponding to <contextID> via AT+QIACT first. It will return the result
within <timeout> and the default value of <timeout> is 4.
AT+QISWTMD Switch Data Access Mode
Test Command
AT+QISWTMD=?
Response
+QISWTMD: (range of supported <connectID>s),(range of
supported <access_mode>s)
OK
Write Command
AT+QISWTMD=<connectID>,<access
_mode>
Response
If the data access mode is switched successfully and
<access_mode> is 0 or 1:
OK
If the data access mode is switched successfully and
<access_mode> is 2, the module enters data mode:
CONNECT
If there is any error:
ERROR
<connectID> Integer type. Socket service index. Range: 0ā11.
<access_mode> Integer type. Data access modes of the connection.
0 Buffer access mode
1 Direct push mode
2 Transparent access mode