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 3 / 52
Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 3
Table Index ................................................................................................................................................... 5
1 Introduction .......................................................................................................................................... 6
1.1. The Process of Using TCP/IP AT Commands ............................................................................. 6
1.2. Description of Data Access Modes .............................................................................................. 8
2 TCP/IP AT Commands ....................................................................................................................... 10
2.1. AT Command Syntax ................................................................................................................. 10
2.1.1. Definitions ....................................................................................................................... 10
2.1.2. AT Command Syntax ..................................................................................................... 10
2.2. Description of TCP/IP AT Commands ........................................................................................ 11
2.2.1. AT+QICSGP Configure Parameters of a TCP/IP Context .......................................... 11
2.2.2. AT+QIACT Activate a PDP Context ............................................................................ 12
2.2.3. AT+QIDEACT Deactivate a PDP Context ................................................................... 13
2.2.4. AT+QIOPEN Open a Socket Service .......................................................................... 14
2.2.5. AT+QICLOSE Close a Socket Service ........................................................................ 16
2.2.6. AT+QISTATE Query Socket Service Status ................................................................ 16
2.2.7. AT+QISEND Send Data .............................................................................................. 18
2.2.8. AT+QIRD Retrieve the Received TCP/IP Data ........................................................... 20
2.2.9. AT+QISENDEX Send Hex String Data ....................................................................... 22
2.2.10. AT+QISWTMD Switch Data Access Mode ................................................................. 23
2.2.11. AT+QPING Ping a Remote Server .............................................................................. 23
2.2.12. AT+QNTP Synchronize Local Time with NTP Server ................................................. 25
2.2.13. AT+QIDNSCFG Configure Address of DNS Server ................................................... 26
2.2.14. AT+QIDNSGIP Get IP Address by Domain Name ...................................................... 27
2.2.15. AT+QICFG Configure Optional Parameters ............................................................... 27
2.2.16. AT+QISDE Control Whether to Echo the Data for AT+QISEND ................................. 32
2.2.17. AT+QIGETERROR Query the Last Error Code .......................................................... 32
2.3. Description of URCs .................................................................................................................. 33
2.3.1. +QIURC: "closed" Indicate Connection Closed .......................................................... 33
2.3.2. +QIURC: "recv" Indicate Incoming Data ..................................................................... 33
2.3.3. +QIURC: "incoming full" Indicate Incoming Connection Full ...................................... 34
2.3.4. +QIURC: "incoming" Indicate Incoming Connection ................................................... 34
2.3.5. +QIURC: "pdpdeact" Indicate PDP Deactivation ........................................................ 35
3 Examples ............................................................................................................................................ 36
3.1. Configure and Activate a Context .............................................................................................. 36
3.1.1. Configure a Context ....................................................................................................... 36
3.1.2. Activate a Context .......................................................................................................... 36
3.1.3. Deactivate a Context ...................................................................................................... 36
3.2. TCP Client Works in Buffer Access Mode under IPv4 ............................................................... 36

Table of Contents

Related product manuals