Quectel BC95 Manual
Hide thumbs Also See for BC95:
Table of Contents

Advertisement

Quick Links

BC95
AT Commands Manual
NB-IoT Module Series
Rev. BC95_AT_Commands_Manual_V1.3
Date: 2017-01-13
www.quectel.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BC95 and is the answer not in the manual?

Questions and answers

Summary of Contents for Quectel BC95

  • Page 1 BC95 AT Commands Manual NB-IoT Module Series Rev. BC95_AT_Commands_Manual_V1.3 Date: 2017-01-13 www.quectel.com...
  • Page 2 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.
  • Page 3: About The Document

    NB-IoT Module Series BC95 AT Commands Manual About the Document History Revision Date Author Description Walker HAN/ 2016-11-16 Initial Donald TANG 1. Added AT+NCONFIG command 2. Updated description of Neul Hi2110 implementation 2016-12-14 Walker HAN for AT+COPS/CGATT/CGDCONT/NMGS/NRB/ NCDP/NTSETID Updated description of Neul Hi2110 implementation...
  • Page 4: Table Of Contents

    NB-IoT Module Series BC95 AT Commands Manual Contents About the Document ........................... 2 Contents ............................... 3 Table Index ..............................5 Introduction ............................6 1.1. Definitions ..........................6 1.2. AT Command Syntax ......................... 6 1.3. AT Command Responses ......................7 1.4.
  • Page 5 NB-IoT Module Series BC95 AT Commands Manual 4.14. AT+NSOCL Close Socket ..................... 46 4.15. +NSONMI Socket Message Arrived Indicator (Response Only) .......... 47 4.16. AT+NPING Test IP Network Connectivity To A Remote Host ..........48 4.17. AT+NBAND Set Supported Bands..................48 4.18.
  • Page 6 NB-IoT Module Series BC95 AT Commands Manual Table Index TABLE 1: AT COMMANDS SYNTAX ........................6 TABLE 2: TYPES OF AT COMMANDS ....................... 8 TABLE 3: ERROR VALUES ..........................53 TABLE 4: TERMS AND ABBREVIATIONS ......................57 BC95_AT_Commands_Manual Confidential / Released...
  • Page 7: Introduction

    NB-IoT Module Series BC95 AT Commands Manual Introduction This document gives details of the AT Command Set supported by Quectel NB-IoT BC95 module. The following string will be output after booting the module: <CR><LF>Neul<CR><LF>OK<CR><LF> After this string has been received, the AT command processor is ready to accept AT commands.
  • Page 8: At Command Responses

    NB-IoT Module Series BC95 AT Commands Manual 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;...
  • Page 9: Implementation Status

    NB-IoT Module Series BC95 AT Commands Manual Implementation Status Table 2: Types of AT Commands Command Description Implemented in 3GPP +CGMI Request Manufacturer Identification B350 or later +CGMM Request Manufacturer Model B350 or later +CGMR Request Manufacturer Revision B350 or later...
  • Page 10 NB-IoT Module Series BC95 AT Commands Manual +NNMI Neul New Message Indications B350 or later +NSMI Neul Send message Indications B350 or later +NQMGR Neul Query Messages Received B350 or later +NQMGS Neul Query Messages Sent B350 or later +NRB...
  • Page 11: 3Gpp Commands

    NB-IoT Module Series BC95 AT Commands Manual 3GPP Commands 3.1. AT+CGMI Request Manufacturer Identification This command returns manufacturer information. By default it will return “Neul Ltd; www.neul.com/” on the standard platform. Refer to Chapter 6 for possible <err> values. AT+CGMI Request Manufacturer Identification...
  • Page 12: At+Cgmr Request Manufacturer Revision

    NB-IoT Module Series BC95 AT Commands Manual AT+CGMM Request Manufacturer Model Execute Command Response AT+CGMM <model> +CME ERROR: <err> Test Command Response AT+CGMM=? Parameter <model> The total number of characters, including line terminators, in the information text shall not exceed 2048 characters. Text shall not contain the sequence 0<CR> or OK<CR>.
  • Page 13: At+Cgsn Request Product Serial Number

    NB-IoT Module Series BC95 AT Commands Manual Parameter <revision> The total number of characters, including line terminators, in the information text shall not exceed 2048 characters. Text shall not contain the sequence 0<CR> or OK<CR> Example AT+CGMR V100R100C10B650SP6 AT+CGMR=? Neul Hi2110 Implementation ...
  • Page 14: At+Cereg Eps Network Registration Status

    NB-IoT Module Series BC95 AT Commands Manual Test Command Response AT+CGSN=? When TE supports <snt> and command is successful: +CGSN: (list of supported <snt>s) Parameter <snt> Integer type indicating the serial number type that has been requested Returns <sn> Returns the IMEI (International Mobile station Equipment Identity)
  • Page 15 NB-IoT Module Series BC95 AT Commands Manual If the UE wants to apply PSM for reducing its power consumption, the set command controls the presentation unsolicited result code: +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,[<cause_ type>],[<reject_cause>][,[<Active-Time>],[<Periodic-TAU>]]]] . When <n>=4.The unsolicited result code will provide the UE with additional information for the Active Time value and the extended periodic TAU value if there is a change of the network cell in E-UTRAN.
  • Page 16 NB-IoT Module Series BC95 AT Commands Manual Enable network registration unsolicited result code +CEREG: <stat> Enable network registration and location information unsolicited result code: +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]] Enable network registration, location information and EMM cause value information unsolicited result code: +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,<cause_type>,<reject_cause>]]...
  • Page 17 NB-IoT Module Series BC95 AT Commands Manual allocated to the UE in E-UTRAN. The Active Time value is coded as one byte (octet 3) of the GPRS Timer 2 information element coded as bit format (e.g. “00100100” equals 4 minutes). For the coding and the value range, please refer to the GPRS Timer 2 IE in 3GPP TS 24.008 Table 10.5.163/3Gpp TS 24.008, 3GPP TS 23.682 and 3GPP TS...
  • Page 18: At+Cscon Signalling Connection Status

    NB-IoT Module Series BC95 AT Commands Manual 3.6. AT+CSCON Signalling Connection Status This command gives details of the terminal‟s perceived radio connection status (i.e. to the base station). It returns an indication of the current state. Please note that this state is only updated when radio events, such as sending and receiving, take place.
  • Page 19 NB-IoT Module Series BC95 AT Commands Manual Parameter <n> Integer type Disable unsolicited result code Enable unsolicited result code +CSCON: <mode> Enable unsolicited result code +CSCON: <mode>[,<state>] Enable unsolicited result code +CSCON: <mode>[,<state>[,<access>]] <mode> Integer type; indicates the signalling connection status...
  • Page 20: At+Clac List Available Commands

    NB-IoT Module Series BC95 AT Commands Manual Neul Hi2110 Implementation  Unsolicited notifications are not currently supported. This functionality will be added in a future release.  Only <n>=0 and <n>=1 are supported. <n>=0 is the default value. 3.7. AT+CLAC List Available Commands This command lists the available AT commands.
  • Page 21: At+Csq Get Signal Strength Indicator

    NB-IoT Module Series BC95 AT Commands Manual 3.8. AT+CSQ Get Signal Strength Indicator The terminal will provide a current signal strength indicator of 0 to 255 where larger is generally better. This information is based on a single measurement so can be expected to change greatly over short periods of time and may never use all possible (or even the majority) of the entire possible range or codes.
  • Page 22: At+Cgpaddr Show Pdp Addresses

    NB-IoT Module Series BC95 AT Commands Manual Neul Hi2110 Implementation  <ber> is currently not implemented, and will always be 99. 3.9. AT+CGPADDR Show PDP Addresses This command returns the IP address of the device. The execution command returns a list of PDP addresses for the specified context identifiers. If no <cid> is specified, the addresses for all defined contexts are returned.
  • Page 23 NB-IoT Module Series BC95 AT Commands Manual +CGDSCONT commands when the context was defined. For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by <cid>. Both <PDP_addr_1> and <PDP_addr_2> are omitted if none is available.
  • Page 24: At+Cops Plmn Selection

    NB-IoT Module Series BC95 AT Commands Manual 3.10. AT+COPS PLMN Selection Set command forces an attempt to select and register the GSM/UMTS/EPS network operator using the SIM/USIM card installed in the currently selected card slot. <mode> is used to select whether the selection is done automatically by the MT or is forced by this command to operator <oper>...
  • Page 25 NB-IoT Module Series BC95 AT Commands Manual Test Command Response AT+COPS=? +COPS: [list of supported(<stat>,long alphanumeric <oper>, short alphanumeric <oper>, numeric <oper>[,<Act>])s][,,(list of supported <mode>s),(list of supported <format>s)] +CME ERROR: <err> Parameter <mode> Integer type Automatic (<oper> field is ignored) Manual (<oper>...
  • Page 26: At+Cgatt Ps Attach Or Detach

    NB-IoT Module Series BC95 AT Commands Manual NOTES 3GPP TS 44.060 specifies the system information messages which give the information about whether the serving cell supports EGPRS. 3GPP TS 25.331 specifies the system information blocks which give the information about whether the serving cell supports HSDPA or HSUPA.
  • Page 27 NB-IoT Module Series BC95 AT Commands Manual The read command returns the current Packet Domain service state. The test command is used for requesting information on the supported Packet Domain service states. AT+CGATT PS Attach or Detach Execute/Set Command Response AT+CGATT=<state>...
  • Page 28: At+Cimi Request International Mobile Subscriber Identity

    NB-IoT Module Series BC95 AT Commands Manual has the read form in addition to the execution/set and test forms. Neul Hi2110 Implementation  When <state>=1, +COPS=0 is automatically selected.  If a CGATT command is in progress, further execution of the CGATT command will return an “Uplink busy”...
  • Page 29: At+Cgdcont Define Pdp Context

    NB-IoT Module Series BC95 AT Commands Manual Neul Hi2110 Implementation  IMSI may not be displayed for a few seconds after power-on. 3.13. AT+CGDCONT Define PDP Context The set command specifies PDP context parameter values for a PDP context identified by <cid>, the...
  • Page 30 NB-IoT Module Series BC95 AT Commands Manual very>[,<IM_CN_Signalling_Flag_Ind>[,<NSLPI>[,<secure PCO>[,<IPv4_MTU_discovery>]]]]]]]] [<CR><LF>+CGDCONT: <cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_co mp>[,<IPv4AddrAlloc>[,<request_type>[,<P-CSCF_disco very>[,<IM_CN_Signalling_Flag_Ind>[,<NSLPI>[,<secure PCO>[,<I Pv4_MTU_discovery>]]]]]]] [...]] Test Command Response AT+CGDCONT=? +CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of supported <d_comp>s),(list of supported <h_comp>s),(list supported <IPv4AddrAlloc>s),(list supported <request_type>s),(list supported <P-CSCF_discovery>s),(list supported <IM_CN_Signalling_Flag_Ind>s) ,(list supported <NSLPI>s),(list...
  • Page 31 NB-IoT Module Series BC95 AT Commands Manual IPV4V6 Virtual <PDP_type> introduced to handle dual IP stack UE capability OSPIH Internet Hosted Octect Stream Protocol (Obsolete) Point to Point Protocol (IETF STD 51 [104]) Only IP, IPV6 and IPV4V6 values are supported for EPS services.
  • Page 32 NB-IoT Module Series BC95 AT Commands Manual to 3GPP TS 24.229 [89] annex B and annex L. Preference of P-CSCF address discovery not influenced by +CGDCONT Preference of P-CSCF address discovery through NAS signalling Preference of P-CSCF address discovery through DHCP <IM_CN_Signalling_Flag_Ind>Integer type;...
  • Page 33: At+Cfun Set Phone Functionality

    NB-IoT Module Series BC95 AT Commands Manual Neul Hi2110 Implementation  Only <PDP_type>=“IP” is supported. <PDP_type>=“IPV6” will be supported in a future release.  Neul supports +CGDCONT=<cid>,<PDP_type>,<APN> only.  <cid> values of 0-10 are supported.  <cid>=0 is read only and is only defined when AUTOCONNECT is enabled.
  • Page 34 NB-IoT Module Series BC95 AT Commands Manual Parameter <fun> Integer type Minimum functionality Full functionality. Enable MT to transmit and receive RF circuits for all supported radio access technologies. For MTs supporting +CSRA, this equals the RATs indicated by the response of +CSRA=?. Currently +CSRA setting is ignored.
  • Page 35: At+Cmee Report Mobile Termination Error

    NB-IoT Module Series BC95 AT Commands Manual Neul Hi2110 Implementation  Only <fun>=0&1 are supported.  <rst> is not supported and will be ignored. 3.15. AT+CMEE Report Mobile Termination Error Set command disables or enables the use of final result code +CME ERROR: <err> as an indication of an error relating to the functionality of the MT.
  • Page 36: Neul Commands

    NB-IoT Module Series BC95 AT Commands Manual Neul Commands 4.1. AT+NMGS Neul Send Message Command The send message command is used to send a message from the Terminal to the network via the CDP server. This command will give an <err> code and description as an intermediate message if it can‟t send the message.
  • Page 37: At+Nnmi Neul New Message Indications

    NB-IoT Module Series BC95 AT Commands Manual The get message command returns the oldest buffered message and deletes from the buffer. If there are no messages then no command response will be given. If new message indications (+NNMI) are turned on then received messages will not be available via this command.
  • Page 38: At+Nsmi Neul Sent Message Indications

    NB-IoT Module Series BC95 AT Commands Manual The default setting is 0: no indications are sent. AT+NNMI Neul New Message Indications Set Command Response AT+NNMI=<status> +CME ERROR: <err> Read Command Response AT+NNMI? +NNMI: <status> Parameter <status> No indications, the default setting...
  • Page 39: At+Nqmgr Neul Query Messages Received

    NB-IoT Module Series BC95 AT Commands Manual AT+NSMI Neul Sent Message Indications Set Command Response AT+NSMI=<indications> +CME ERROR: <err> Read Command Response AT+NSMI? +NSMI:<indications> Parameter <indications> No indications, the default setting Indications will be sent <status> SENT DISCARDED Example AT+NSMI=1...
  • Page 40: At+Nqmgs Neul Query Messages Sent

    NB-IoT Module Series BC95 AT Commands Manual Parameter <buffered> The number of messages waiting to be read in the downstream buffer <received> The total number of messages received by the terminal since terminal boot <dropped> The number of messages dropped by the terminal since terminal boot...
  • Page 41: At+Nrb Neul Reboot

    NB-IoT Module Series BC95 AT Commands Manual 4.7. AT+NRB Neul Reboot This command reboots the terminal. There is a short delay after issuing this command before the terminal reboots. No further AT commands will be processed. Refer to Chapter 6 for possible <err> values.
  • Page 42: At+Nuestats Query Ue Statistics

    NB-IoT Module Series BC95 AT Commands Manual Parameter <ip_addr> IPv4 address, IP address in dot-separated numeric (0-255) parameter of the form: a1.a2.a3.a4 <port> Unsigned integer 0-65535. If port 0 is provided, the default port (5683) will be used. If no port is specified the previously set port will be used. If no port is specified, and no port was previously set, the default port will be used.
  • Page 43: At+Nearfcn Specify Search Frequencies

    NB-IoT Module Series BC95 AT Commands Manual ECL:<last ECL value> +CME ERROR: <err> Parameter <signal power in centibels> Signal power in centibels <total power in centibels> Total power in centibels <current Tx power level in centibels> Current Tx power level in centibels <total Tx time since last reboot in millisecond>...
  • Page 44: At+Nsocr Create Socket

    NB-IoT Module Series BC95 AT Commands Manual AT+NEARFCN Specify Search Frequencies Set Command Response AT+NEARFCN=<search_mode>,<earf cn> +CME ERROR: <err> Parameter <search_mode> Specifies the type of search and defines the supplied parameters Single point EARFCN search <earfcn> A number in the range 1-65535 representing the EARFCN to search. An <earfcn>...
  • Page 45: At+Nsost Sendto Command (Udp Only)

    NB-IoT Module Series BC95 AT Commands Manual <listen port> A number in the range 0-65535. This is the local port that will be included in sent messages and on which messages will be received. <socket> This is a reference to the created socket. It is an integer greater than or equal to 0.
  • Page 46: At+Nsorf Receive Command (Udp Only)

    NB-IoT Module Series BC95 AT Commands Manual Parameter <socket> Socket number returned by +NSOCR <remote_addr> IPv4 A dot notation IP address <remote_port> A number in the range 0-65535. This is the remote port on which messages will be received <length>...
  • Page 47: At+Nsocl Close Socket

    NB-IoT Module Series BC95 AT Commands Manual AT+NSORF Receive Command (UDP Only) Set Command Response AT+NSORF=<socket>,<req_length> <socket>,<ip_addr>,<port>,<length>,<data>,<remaining_ length> +CME ERROR: <err> Parameter <socket> Socket number returned by +NSOCR <req_length> Maximum amount of data to be returned as a decimal byte length.
  • Page 48: Nsonmi Socket Message Arrived Indicator (Response Only)

    NB-IoT Module Series BC95 AT Commands Manual AT+NSOCL Close Socket Set Command Response AT+NSOCL=<socket> +CME ERROR: <err> Parameter <socket> Socket number returned by +NSOCR Example AT+NSOCL=0 4.15. +NSONMI Socket Message Arrived Indicator (Response Only) Unsolicited message to notify that data has been received on a socket and is ready to be read. This command returns socket number and number of bytes of data available to read for the first message that is queued.
  • Page 49: At+Nping Test Ip Network Connectivity To A Remote Host

    NB-IoT Module Series BC95 AT Commands Manual 4.16. AT+NPING Test IP Network Connectivity To A Remote Host This command sends an ICMP packet to the specified host address. Refer to Chapter 6 for possible <err> values. AT+NPING initiates the sending of a PING packet to the specified address. This will either cause a packet to be returned if the remote system is connected and responding to PING packets or no response will be received.
  • Page 50: At+Nloglevel Set Debug Logging Level

    NB-IoT Module Series BC95 AT Commands Manual AT+NBAND Set Supported Bands Set Command Response AT+NBAND=n[,n[,n[…]]] +CME ERROR: <err> Read Command Response AT+NBAND? +NBAND: n[,n[,n[…]]] Execute Command Response AT+NBAND=? +NBAND: (n[,n[,n[…]]]) Parameter <n> Band as a decimal number Neul Hi2110 Implementation ...
  • Page 51: At+Nconfig Configure Ue Behaviour

    NB-IoT Module Series BC95 AT Commands Manual Parameter <level> Logging level required VERBOSE CUSTOM NORMAL WARNING ERROR NONE <core> PROTOCOL APPLICATION SECURITY Neul Hi2110 Implementation  Logging level is not persistent.  Application and Security core logging are not supported.
  • Page 52 NB-IoT Module Series BC95 AT Commands Manual …]])) [,…]] Parameter <function> UE function to configure AUTOCONNECT: Control whether the platform will automatically attempt to connect to the network after power-on or reboot. When enabled, it will set +CFUN=1 and read the PLMN from the SIM. And it will use the APN provided by the network.
  • Page 53: Temporary Commands

    NB-IoT Module Series BC95 AT Commands Manual Temporary Commands As part of development, some commands are temporarily added. They are unsupported and may disappear, or change behaviour, without warning. They are listed here for completeness. 5.1. AT+NTSETID Set ID Set system identities such as UUID or IMEI value. This is a temporary command that will be replaced with a production tool.
  • Page 54: Error Values

    NB-IoT Module Series BC95 AT Commands Manual Error Values The error codes listed below are not implemented, and only a subset will be implemented. In B600 and later, the +CMEE command is implemented and supports modes 0 & 1. In mode 1 a limited set of error codes are returned.
  • Page 55: Examples

    //Query the IMSI and wait for 4 seconds after executing AT+CFUN=1. 460012345678966 AT+NBAND? //Query the band information, set BC95-CM/B8 to BAND 8, BC95-SL/B5 to BAND 5, and BC95-VF/B20 to BAND 20. Execute AT+NBAND=n to set the frequency band. It will take effect after restart.
  • Page 56: Coap Messages

    NB-IoT Module Series BC95 AT Commands Manual AT+CGATT? //Query whether network is activated, +CGATT:1 means activated successfully. And wait for some time. +CGATT:1 AT+CEREG? //Query current EPS network registration status: Registered. +CEREG:0,1 AT+CSCON? //Query the signaling connection status, 1 means CONNECT, 0 means IDLE.
  • Page 57: Udp Messages

    NB-IoT Module Series BC95 AT Commands Manual +NNMI //Receive a downstream message. AT+NQMGR //Query whether messages is received. BUFFERED=1,RECEIVED=0,DROPPED=0 AT+NMGR //Get messages. 2,AABB AT+NQMGR //Query whether messages is received. BUFFERED=0,RECEIVED=1,DROPPED=0 7.3. UDP Messages The following shows a simple example of sending, receiving and reading a UDP message. Once the socket is closed, no replies will be received.
  • Page 58: Appendix A Reference

    NB-IoT Module Series BC95 AT Commands Manual Appendix A Reference Table 4: Terms and Abbreviations Abbreviation Description Access Point Name Connected Device Platform Circuit Switched Data Communication Equipment EGPRS Enhanced General Packet Radio Service GPRS General Packet Radio Service GERAN...
  • Page 59 NB-IoT Module Series BC95 AT Commands Manual Transmission Control Protocol Terminal Equipment Time To Live User Datagram Protocol User Equipment UICC Universal Integrated Circuit Card UUID Universally Unique Identifier BC95_AT_Commands_Manual Confidential / Released 58 / 58...

Table of Contents