BC26 LwM2M
AT Commands Manual
NB-IoT Module Series
Rev. BC26_LwM2M_AT_Commands_Manual_V1.0
Date: 2018-07-26
Status: Released
www.quectel.com
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
Quectel Wireless Solutions Co., Ltd.
7th Floor, Hongye Building, No.1801 Hongmei Road, Xuhui District, Shanghai 200233, China
Tel: +86 21 5108 6236
Email: info@quectel.com
Or our local office. For more information, please visit:
http://quectel.com/support/sales.htm
For technical support, or to report documentation errors, please visit:
http://quectel.com/support/technical.htm
Or email to: support@quectel.com
GENERAL NOTES
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF QUECTEL
WIRELESS SOLUTIONS CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION AND
EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE FORBIDDEN
WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL
RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY
MODEL OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2018. All rights reserved.
BC26_LwM2M_AT_Commands_Manual 1 / 27
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
About the Document
History
Revision Date
Author
Description
1.0
2018-07-26
Randy LI/
Angela SONG
Initial
BC26_LwM2M_AT_Commands_Manual 2 / 27
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 3
Table Index ................................................................................................................................................... 5
1
Introduction .......................................................................................................................................... 6
1.1. Definitions .................................................................................................................................. 6
1.2.
AT Command Syntax ................................................................................................................. 6
2
Implementation Status ........................................................................................................................ 7
3 LwM2M Related AT Commands ......................................................................................................... 8
3.1.
3.2.
3.3.
3.4.
3.5.
3.6.
3.7.
3.8.
3.9.
AT+QLWSERV Configure the IoT Platform Address and Port ............................................... 8
AT+QLWCONF Configure the IoT Platform Parameters ........................................................ 9
AT+QLWADDOBJ Add a LwM2M Object ............................................................................. 10
AT+QLWDELOBJ Delete a LwM2M Object .......................................................................... 10
AT+QLWOPEN Send a Register Request to IoT Platform ................................................... 11
AT+QLWUPDATE Send an Update Request ....................................................................... 12
AT+QLWCLOSE Send a Deregister Request ....................................................................... 13
AT+QLWDATASEND Send Data to IoT Platform.................................................................. 14
AT+QLWDATASTATUS Query CON Message Sent Status ................................................. 15
3.10. AT+QLWRD Retrieve the Received Data ............................................................................. 16
3.11. AT+QLWCFG Configure Optional Parameters ..................................................................... 18
3.12. AT+QLWDEL Delete the LwM2M Context ............................................................................ 18
4 LwM2M Related URCs ....................................................................................................................... 20
4.1.
4.2.
"+QLWOBSERVE" URC to Indicate Observe Request from IoT Platform ........................... 20
"+QLWDATARECV" URC to Indicate Write Request from IoT Platform............................... 21
5 Examples ............................................................................................................................................ 22
5.1. Register to the IoT Platform ..................................................................................................... 22
5.2.
5.3.
Send and Receive Data in Direct Push Mode ......................................................................... 23
Send and Receive Data in Buffer Access Mode ..................................................................... 24
6 Appendix A Reference ....................................................................................................................... 27
BC26_LwM2M_AT_Commands_Manual 3 / 27
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
Table Index
TABLE 1: AT COMMAND SYNTAX ..................................................................................................................... 6
TABLE 2: IMPLEMENTATION STATUS OF LWM2M AT COMMANDS .............................................................. 7
TABLE 3: LWM2M RELATED URCS ................................................................................................................. 20
TABLE 4: TERMS AND ABBREVIATIONS. ....................................................................................................... 27
BC26_LwM2M_AT_Commands_Manual 5 / 27
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
1 Introduction
This document gives details of the LwM2M AT Command Set supported by Quectel NB-IoT module
BC26.
1.1. Definitions
: Carriage return character;
: Line feed character;
<..>: Parameter name. Angle brackets do not appear on command line;
[..]: Optional parameter. Square brackets do not appear on the command line.
1.2. AT Command Syntax
Table 1: AT Command Syntax
Test Command
AT+=?
ranges set by the corresponding Write Command or
The command returns the list of parameters and value
internal processes.
Read Command
AT+?
The command returns the currently set value of the
parameter or parameters.
Write Command
AT+=<…>
The command sets the user-definable parameter values.
Execution
Command
AT+
The command reads non-variable parameters affected by
internal processes in the module.
BC26_LwM2M_AT_Commands_Manual 6 / 27
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
2 Implementation Status
Table 2: Implementation Status of LwM2M AT Commands
AT Command
Description
Implementation Status
AT+QLWSERV
Configure the IoT Platform Address and Port R01A02 or later
AT+QLWCONF
Configure the IoT Platform Parameters
R01A02 or later
AT+QLWADDOBJ
Add a LwM2M Object
R01A02 or later
AT+QLWDELOBJ
Delete a LwM2M Object
R01A02 or later
AT+QLWOPEN
Send a Register Request to IoT Platform
R01A02 or later
AT+QLWUPDATE
Send an Update Request
R01A02 or later
AT+QLWCLOSE
Send a Deregister Request
R01A02 or later
AT+QLWDATASEND
Send Data to IoT Platform
R01A02 or later
AT+QLWDATASTATUS
Query CON Messages Sent Status
R01A02 or later
AT+QLWRD
Retrieve the Received Data
R01A02 or later
AT+QLWCFG
Configure Optional Parameters
R01A02 or later
AT+QLWDEL
Delete the LwM2M Context
R01A02 or later
BC26_LwM2M_AT_Commands_Manual 7 / 27
NB-IoT Module Series
BC26 LwM2M AT Commands Manual
3 LwM2M Related AT Commands
3.1. AT+QLWSERV Configure the IoT Platform Address and Port
The command is used to set the IP address and port number of the IoT platform that the module will
connect to.
AT+QLWSERV Configure the IoT Platform Address and Port
Test Command
AT+QLWSERV=?
Response
+QLWSERV: "IP_address",(0-65535)
Read Command
AT+QLWSERV?
Write Command
OK
Response
+QLWSERV:
,
OK
If there is any error, response:
ERROR
Response
AT+QLWSERV=,
OK
If there is any error, response:
ERROR
300ms
Maximum Response Time
Parameter
String type. The IoT platform IP address with double quotation marks.
Integer type. The port number of IoT platform. The range is 0-65535.
Example
AT+QLWSERV="180.101.147.115",5683
OK
BC26_LwM2M_AT_Commands_Manual 8 / 27