Quectel BC35 G&BC28 AT Commands Manual V1.0
User Manual:
Open the PDF directly: View PDF .
Page Count: 109
Download | ![]() |
Open PDF In Browser | View PDF |
BC35-G&BC28 AT Commands Manual NB-IoT Module Series Rev. BC35-G&BC28_AT_Commands_Manual_V1.0 Date: 2017-12-28 Status: Released www.quectel.com NB-IoT Module Series BC35-G&BC28 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. 2017. All rights reserved. BC35-G&BC28_AT_Commands_Manual 1 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual About the Document History Revision 1.0 Date Author 2017-12-28 Hayden WANG/ Gary TANG/ Arnold ZHAO BC35-G&BC28_AT_Commands_Manual Description Initial 2 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual Contents About the Document ................................................................................................................................... 2 Contents ....................................................................................................................................................... 3 Table Index ................................................................................................................................................... 6 1 Introduction .......................................................................................................................................... 7 1.1. Definitions .................................................................................................................................. 8 1.2. AT Command Syntax ................................................................................................................. 8 1.3. AT Command Responses .......................................................................................................... 9 1.4. 3GPP Compliance ..................................................................................................................... 9 2 Implementation Status ...................................................................................................................... 10 3 3GPP Commands (27.007) ................................................................................................................ 13 3.1. ATI Display Product Identification Information ...................................................................... 13 3.2. ATE Set Command Echo Mode ............................................................................................ 14 3.3. AT+CGMI Request Manufacturer Identification .................................................................... 15 3.4. AT+CGMM Request Manufacturer Model ............................................................................ 15 3.5. AT+CGMR Request Manufacturer Revision ......................................................................... 16 3.6. AT+CGSN Request Product Serial Number ......................................................................... 17 3.7. AT+CEREG EPS Network Registration Status ..................................................................... 18 3.8. AT+CSCON Signalling Connection Status ........................................................................... 21 3.9. AT+CLAC List Available Commands .................................................................................... 23 3.10. AT+CSQ Get Signal Strength Indicator ................................................................................ 24 3.11. AT+CGPADDR Show PDP Addresses ................................................................................. 25 3.12. AT+COPS PLMN Selection .................................................................................................. 27 3.13. AT+CGATT PS Attach or Detach .......................................................................................... 29 3.14. AT+CGACT Activate or Deactivate PDP Context ................................................................. 30 3.15. AT+CIMI Request International Mobile Subscriber Identity.................................................. 32 3.16. AT+CGDCONT Define a PDP Context ................................................................................. 33 3.17. AT+CFUN Set UE Functionality ............................................................................................ 35 3.18. AT+CMEE Report UE Error .................................................................................................. 36 3.19. AT+CCLK Return Current Date and Time ............................................................................ 37 3.20. AT+CPSMS Power Saving Mode Setting ............................................................................. 38 3.21. AT+CEDRXS eDRX Setting .................................................................................................. 40 3.22. AT+CEER Extended Error Report ........................................................................................ 43 3.23. AT+CEDRXRDP eDRX Read Dynamic Parameters ............................................................ 44 3.24. AT+CTZR Time Zone Reporting ........................................................................................... 46 3.25. AT+CIPCA Initial PDP Context Activation ............................................................................. 48 3.26. AT+CGAPNRC APN Rate Control ........................................................................................ 49 3.27. AT+CSODCP* Sending Originating Data via the Control Plane .......................................... 51 3.28. AT+CRTDCP* Reporting Terminating Data via the Control Plane ....................................... 52 4 3GPP Commands (27.005) ................................................................................................................ 55 BC35-G&BC28_AT_Commands_Manual 3 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual 4.1. 4.2. 4.3. 4.4. 4.5. AT+CSMS AT+CNMA AT+CSCA AT+CMGS AT+CMGC Select Message Service ..................................................................................... 55 New Message Acknowledgement to UE............................................................. 57 Service Centre Address ....................................................................................... 58 Send SMS Message ........................................................................................... 59 Send SMS Command......................................................................................... 61 5 General Commands ........................................................................................................................... 62 5.1. AT+NRB Reboot the UE ....................................................................................................... 62 5.2. AT+NUESTATS Query UE Statistics..................................................................................... 62 5.3. AT+NEARFCN Specify Search Frequencies ........................................................................ 67 5.4. AT+NSOCR Create a Socket................................................................................................ 67 5.5. AT+NSOST SendTo Command (UDP Only) ......................................................................... 69 5.6. AT+NSOSTF SendTo Command with Flags (UDP Only) ..................................................... 69 5.7. AT+NSORF Receive Command (UDP Only)........................................................................ 71 5.8. AT+NSOCL Close a Socket .................................................................................................. 72 5.9. +NSONMI Indicator of Arrived Socket Message (Response Only) ...................................... 72 5.10. AT+NPING Test IP Network Connectivity to a Remote Host ................................................ 73 5.11. AT+NBAND Set Supported Bands........................................................................................ 74 5.12. AT+NLOGLEVEL Set Debug Logging Level ........................................................................ 75 5.13. AT+NCONFIG Configure UE Behaviour ............................................................................... 76 5.14. AT+NATSPEED Configure UART Port Baud Rate ............................................................... 78 5.15. AT+NCCID USIM Card Identification .................................................................................... 79 5.16. AT+NFWUPD Firmware Update via UART .......................................................................... 80 5.17. AT+NPOWERCLASS Set the Mapping for Band and Power Class ..................................... 81 5.18. AT+NPSMR Power Saving Mode Status Report .................................................................. 82 5.19. AT+NPTWEDRXS Paging Time Window Value and eDRX Setting ..................................... 83 5.20. AT+NPIN* PIN Operator ....................................................................................................... 86 5.21. AT+QLEDMODE Set NETLIGHT LED Function Mode ........................................................ 87 6 Huawei’s IoT Platform Commands................................................................................................... 89 6.1. AT+NCDP Configure and Query CDP Server Settings ........................................................ 89 6.2. AT+QSECSWT* Set Data Encryption Mode......................................................................... 90 6.3. AT+QSETPSK* Set PSK ID and PSK .................................................................................. 91 6.4. AT+QLWSREGIND Register Control .................................................................................... 92 6.5. AT+QLWULDATA Send Data ................................................................................................ 93 6.6. AT+QLWULDATAEX Send CON/NON Message .................................................................. 94 6.7. AT+QLWULDATASTATUS Query CON Messages Sent Status ........................................... 94 6.8. AT+QLWFOTAIND Set DFOTA Update Mode ...................................................................... 95 6.9. AT+QREGSWT Set Registration Mode ................................................................................ 96 6.10. +QLWULDATAEXIND Message Sent Status Report (Response Only)................................ 97 6.11. +QLWEVTIND LWM2M Event Report (Response Only) ...................................................... 98 7 Error Values ........................................................................................................................................ 99 8 Reset Reasons ................................................................................................................................. 102 9 Examples .......................................................................................................................................... 103 BC35-G&BC28_AT_Commands_Manual 4 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual 9.1. 9.2. Send/Receive/Read a UDP Message ................................................................................... 103 Examples Relating to Huawei’s IoT Platform ........................................................................ 103 9.2.1. Register to Huawei’s IoT Platform ............................................................................... 103 9.2.2. Send/Receive Data with Huawei’s IoT Platform .......................................................... 104 9.2.3. Upgrade Firmware on Huawei’s IoT Platform ............................................................. 105 9.2.4. Register to Huawei’s IoT Platform with DTLS ............................................................. 106 10 Appendix A Reference..................................................................................................................... 107 BC35-G&BC28_AT_Commands_Manual 5 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual Table Index TABLE 1: UNSOLICITED INFORMATION FOR UE UPDATE STATE INDICATION .......................................... 7 TABLE 2: AT COMMAND SYNTAX ..................................................................................................................... 8 TABLE 3: TYPES OF AT COMMANDS AND IMPLEMENTATION STATUS ..................................................... 10 TABLE 4: GENERAL ERRORS (27.007)........................................................................................................... 99 TABLE 5: GENERAL ERRORS (27.005)........................................................................................................... 99 TABLE 6: SPECIFIC ERROR CODES ............................................................................................................ 101 TABLE 7: REBOOT MESSAGES DISPLAYED ............................................................................................... 102 TABLE 8: TERMS AND ABBREVIATIONS ...................................................................................................... 107 BC35-G&BC28_AT_Commands_Manual 6 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual 1 Introduction This document gives details of the AT Command Set supported by Quectel NB-IoT BC35-G and BC28 modules. The following string will be output after booting the module:Neul OK After this string has been received, the AT command processor is ready to accept AT commands. If BC35-G/BC28 module is rebooted or restarted for any reason that is not a normal power-on sequence, a message that indicates the reason for the reboot would be output before the Neul OK string. Please refer to Chapter 8 for more details. In case that an external MCU intervenes in the process of firmware update via DFOTA, unsolicited information will be output to inform the external MCU the current update state. Table 1: Unsolicited Information for UE Update State Indication Unsolicited Information Description FIRMWARE DOWNLOADING Indicates that UE is downloading update package. FIRMWARE DOWNLOAD FAILED Indicates that the download failed. FIRMWARE DOWNLOADED Indicates that the download finished. FIRMWARE UPDATING Indicates that the UE is updating. FIRMWARE UPDATE SUCCESS Indicates that the update is successful, but update state has not been reported to firmware package server yet. FIRMWARE UPDATE FAILED Indicates that the update failed. FIRMWARE UPDATE OVER Indicates that the update is successful, and update state has been reported to firmware package server. Update is done after this information. BC35-G&BC28_AT_Commands_Manual 7 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual NOTE During updating procedure, the module should not be operated until "FIRMWARE UPDATE OVER" is reported. For instance, executing AT+NRB to power off the module is not permitted, otherwise an error will occur. 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 2: AT Command Syntax Test Command AT+ =? Check possible sub-parameter values Read Command AT+ ? Check current sub-parameter values Write Command AT+ =p1[,p2[,p3[..... ]]] Write command Execution Command AT+ Execution command Multiple commands can be placed on a single line using a semi-colon (“;”) between commands. Only the first command should have AT prefix. Commands can be in upper or lower case. When entering AT commands spaces are ignored except in the following cases: Within quoted strings, where they are preserved; Within an unquoted string or numeric parameter; Within an IP address; Within the AT command name up to and including a ‘=’, ‘?’ or ‘=?’. They can be used to make the input more human-readable. On input, at least a carriage return is required. A newline character is ignored so it is permissible to use carriage return/line feed pairs on the input. If no command is entered after the AT token, "OK" will be returned. If an invalid command is entered, BC35-G&BC28_AT_Commands_Manual 8 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual “ERROR” will be returned. Optional parameters, unless explicitly stated, need to be provided up to the last parameter being entered. 1.3. AT Command Responses When the AT Command processor has finished processing a line, it will output either "OK" or "ERROR" indicating that it is ready to accept a new command. Solicited informational responses are sent before the final "OK" or "ERROR". Unsolicited information responses will never occur between a solicited informational response and the final “OK” or “ERROR”. Responses will be of the format: +CMD1: OK Or OK 1.4. 3GPP Compliance 3GPP commands are complied with the 3GPP TS 27.007 v14.3.0 (2017-03). BC35-G&BC28_AT_Commands_Manual 9 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual 2 Implementation Status Table 3: Types of AT Commands and Implementation Status Description Implementation Status ATI Display Product Identification Information R01A01 ATE Set Command Echo Mode R01A01 AT+CGMI Request Manufacturer Identification B150SP1 AT+CGMM Request Manufacturer Model B150SP1 AT +CGMR Request Manufacturer Revision B150SP1 AT+CGSN Request Product Serial Number B150SP1 AT+CEREG EPS Network Registration Status B150SP1 AT+CSCON Signalling Connection Status B150SP1 AT+CLAC List Available Commands B150SP1 AT+CSQ Get Signal Strength Indicator B150SP1 AT+CGPADDR Show PDP Addresses B150SP1 AT+COPS PLMN Selection B150SP1 AT+CGATT PS Attach or Detach B150SP1 AT+CGACT Activate or Deactivate PDP Context B150SP1 AT+CIMI Request International Mobile Subscriber Identity B150SP1 AT+CGDCONT Define a PDP Context B150SP1 AT+CFUN Set UE Functionality B150SP1 AT+CMEE Report UE Error B150SP1 AT Command 3GPP Commands (27.007) BC35-G&BC28_AT_Commands_Manual 10 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual AT+CCLK Return Current Date and Time B150SP1 AT+CPSMS Power Saving Mode Setting B150SP1 AT+CEDRXS eDRX Setting B150SP1 AT+CEER Extended Error Report B150SP1 AT+CEDRXRDP eDRX Read Dynamic Parameters B150SP1 AT+CTZR Time Zone Reporting B150SP1 AT+CIPCA Initial PDP Context Activation B150SP1 AT+CGAPNRC APN Rate Control B150SP1 AT+CSODCP* Sending Originating Data via the Control Plane B150SP1 AT+CRTDCP* Reporting Terminating Data via the Control Plane B150SP1 AT+CSMS Select Message Service B150SP1 AT+CNMA New Message Acknowledgement to UE B150SP1 AT+CSCA Service Centre Address B150SP1 AT+CMGS Send SMS Message B150SP1 AT+CMGC Send SMS Command B150SP1 AT+NRB Reboot the UE B150SP1 AT+NUESTATS Query UE Statistics B150SP1 AT+NEARFCN Specify Search Frequencies B150SP1 AT+NSOCR Create a Socket B150SP1 AT+NSOST SendTo Command (UDP Only) B150SP1 AT+NSOSTF SendTo Command with Flags (UDP Only) B150SP1 AT+NSORF Receive Command (UDP only) B150SP1 AT+NSOCL Close a Socket B150SP1 +NSONMI Indicator of Arrived Socket Message (Response Only) B150SP1 3GPP Commands (27.005) General Commands BC35-G&BC28_AT_Commands_Manual 11 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual AT+NPING Test IP Network Connectivity to a Remote Host B150SP1 AT+NBAND Set Supported Bands B150SP1 AT+NLOGLEVEL Set Debug Logging Level B150SP1 AT+NCONFIG Configure UE Behaviour B150SP1 AT+NATSPEED Configure UART Port Baud Rate B150SP1 AT+NCCID USIM Card Identification B150SP1 AT+NFWUPD Firmware Update via UART B150SP1 AT+NPOWERCLASS Set the Mapping for Band and Power Class B150SP1 AT+NPSMR Power Saving Mode Status Report B150SP1 AT+NPTWEDRXS Paging Time Window Value and eDRX Setting B150SP1 AT+NPIN* PIN Operator B150SP1 AT+QLEDMODE Set NETLIGHT LED Function Mode B150SP1 Huawei’s IoT Platform Commands AT+NCDP Configure and Query CDP Server Settings R01A01 AT+QSECSWT* Set Data Encryption Mode R01A01 AT+QSETPSK* Set PSK ID and PSK R01A01 AT+QLWSREGIND Register Control R01A01 AT+QLWULDATA Send Data R01A01 AT+QLWULDATAEX Send CON/NON Message R01A01 AT+QLWULDATASTATUS Query CON Messages Sent Status R01A01 AT+QLWFOTAIND Set DFOTA Update Mode R01A01 AT+QREGSWT Set Registration Mode R01A01 +QLWULDATAEXIND Message Sent Status Report (Response Only) R01A01 +QLWEVTIND LWM2M Event Report (Response Only) R01A01 NOTE "*" means under development. BC35-G&BC28_AT_Commands_Manual 12 / 108 NB-IoT Module Series BC35-G&BC28 AT Commands Manual 3 3GPP Commands (27.007) 3.1. ATI Display Product Identification Information The execution command returns product identification information. Please refer to Chapter 7 for possible values. ATI Display Product Identification Information Execution Command ATI Response Quectel