background image

                                                                                                                                             

NB-IoT  Module  Series 

                                                                                                                              BC26  AT  Commands  Manual

 

 

BC26_AT_Commands_Manual                                                                                                                  15 / 73 

 
 

 

2.7.  AT+CGSN    Request Product Serial Number Identification 

Parameter

 

AT+CGSN    Request Product Serial Number Identification 

Execution/Write Command 

AT+CGSN[=<snt>] 

Response 

When  <snt>=0  (or  omitted)  and  command  is  executed 

successfully: 

<sn> 

 

When

 

<snt>=1 and command is executed successfully:

   

+CGSN:<imei> 

 

When

 

<snt>=2

 

and command is executed successfully:

   

+CGSN:<imeisv> 

 

When

 

<snt>=3

 

and command is executed successfully:

   

+CGSN:<svn> 

 

OK 

 

If there is any error, response: 

+CME ERROR:<err> 

Test Command

 

AT+CGSN=?

 

Response 

When  TE  supports  <snt>  and  command  is  executed 

successfully: 

+CGSN:

(list of supported

 <snt>

s) 

 

OK

 

<snt>

     

Integer type indicating the serial number type that has been requested 

 

 

 

 

Returns <sn> 

 

 

 

 

Returns the IMEI number   

 

 

 

Returns the IMEISV (International Mobile station Equipment Identity and Software 

 

 

 

 

 

Version) number 

 

 

 

3     

Returns the SVN (Software Version Number) 

<sn> 

 

The 128-bit UUID of the UE. The total number of characters, including line terminators. In 

the information text shall not exceed 2048 characters, and shall not contain the sequence 0

 <CR> or OK<CR>. 

<imei>

    

String type in decimal format indicating the IMEI number 

<imeisv>   

String type in decimal format indicating the IMEISV 

<svn>

     

String type in decimal format indicating the current SVN which is a part of IMEISV 

Summary of Contents for BC26

Page 1: ...BC26 AT Commands Manual NB IoT Module Series Rev BC26_AT_Commands_Manual_V1 1 Date 2018 01 25 Status Preliminary www quectel com...

Page 2: ...ROVIDED 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 H...

Page 3: ...6 AT Commands Manual BC26_AT_Commands_Manual 2 73 About the Document History Revision Date Author Description 1 0 2018 01 05 Randy LI Lebron LIU Initial 1 1 2018 01 25 Lebron LIU Modified the Descript...

Page 4: ...AT CGATT GPRS Packet Domain Attach Detach 24 2 12 AT CGDCONT Define the PDP Context 25 2 13 AT CGACT PDP Context Activation Deactivation 29 2 14 AT CGPADDR Show PDP Addresses 31 2 15 AT CIMI Request...

Page 5: ...twork Status 59 7 OneNET Commands 63 7 1 AT MIPLCREATE Create OneNET Instance 63 7 2 AT MIPLDELETE Delete OneNET Instance 64 7 3 AT MIPLADDOBJ Add LWM2M Object 64 7 4 AT MIPLDELOBJ Delete LWM2M Object...

Page 6: ...NB IoT Module Series BC26 AT Commands Manual BC26_AT_Commands_Manual 6 73 Table Index TABLE 1 TYPES OF AT COMMANDS AND RESPONSES 8 TABLE 2 TERMS AND ABBREVIATIONS 72...

Page 7: ...dation V 250 as well as the AT Commands developed by Quectel All these AT commands can be split into three categories syntactically basic S parameter and extended They are listed as follows Basic synt...

Page 8: ...EX IRA PCCP437 PCDN 8859 1 The character set can be configured and interrogated using the AT CSCS command 3GPP TS 27 007 The character set is defined in 3GPP specification 27 005 Test Command AT x Thi...

Page 9: ...ation Information Parameter Example ATI Quectel_Ltd Quectel_BC26 Revision BC26NAR01A01 OK ATI Display Product Identification Information Execution Command ATI Response Quectel_Ltd Object Id Revision r...

Page 10: ...Mode Parameter Example ATE0 OK ATI Quectel_Ltd Quectel_BC26 Revision BC26NAR01A01 OK ATE1 OK ATI ATI Quectel _Ltd Quectel_BC26 Revision BC26NAR01A01 OK ATE Set Command Echo Mode Execution Command ATE...

Page 11: ...AT CGMM Request Manufacturer Model AT CGMI Request Manufacturer Identification Execution Command AT CGMI Response Quectel_Ltd Object Id Revision MTK_2625 OK If there is any error response CME ERROR er...

Page 12: ...turer Revision Parameter Example AT CGMR Revision BC26NAR01A01 OK Test Command AT CGMM Response OK Object Id Identifier of device type AT CGMR Request Manufacturer Revision Execution Command AT CGMR R...

Page 13: ...esponse CESQ rxlev ber rscp ecno rsrq rsrp OK If there is any error response CME ERROR err Test Command AT CESQ Response CESQ list of supported rxlev s list of supported ber s list of supported rscp s...

Page 14: ...1dBm ecno 0 5 dBm 48 0 5dBm ecno 0 dBm 49 0 dBm ecno 255 not known or not detectable rsrq Integer type reference signal received quality see 3GPP 36 133 0 19 5 dB or less 1 19 5dB rsrq 19 dB 2 19dB r...

Page 15: ...onse When TE supports snt and command is executed successfully CGSN list of supported snt s OK snt Integer type indicating the serial number type that has been requested 0 Returns sn 1 Returns the IME...

Page 16: ...e extended periodic TAU value if there is a change of the network cell in E UTRAN The value n 5 further enhances the unsolicited result code with cause_type and reject_cause when the value of stat cha...

Page 17: ...e network registration location information and EMM cause value information unsolicited result code CEREG stat lac ci AcT rac cause_type reject_cause A c tive Time Periodic RAU stat Integer type indic...

Page 18: ...alue 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 23 401 Bits 5 to 1 represent the binary coded timer value Bits 6 to 8 defines...

Page 19: ...s that the serving cell supports EC GSM IoT 6 3GPP TS 36 331 86 specifies the system information blocks which give the information about whether the serving cell supports NB IoT which corresponds to E...

Page 20: ...d to connected mode when the MT is in ready state The read command returns the status of result code presentation and an integer mode which shows whether the MT is currently in idle mode or connected...

Page 21: ...o deregister from the network The selected mode affects all further network registration e g after mode 2 MT shall be unregistered until mode 0 or 1 is selected This command should be abortable when r...

Page 22: ...mmand AT COPS Response COPS mode format oper AcT OK If there is any error response CME ERROR err Test Command AT COPS Response COPS list of supported stat long alphanumeric oper short alphanumeric ope...

Page 23: ...5 AcT field is fixed at 9 for NB IoT product Example AT COPS 0 OK AT COPS COPS 0 2 46000 9 OK 2 Numeric oper GSM Location Area Identification number oper String type format indicates if the format is...

Page 24: ...ill be automatically deactivated when the attachment state changes to detached The read command returns the current packet domain service state The test command is used for requesting information on t...

Page 25: ...meter value ranges for each PDP_type are returned on a separate line The feature initial PDP context may be supported and is a manufacturer specific option For this option the context with cid 0 conte...

Page 26: ...ist of supported P CSCF_discovery s list of supported IM_CN_Signalling_Flag_Ind s list of supported NSLPI s list of supported securePCO s list of supported IPv4_MTU_discovery s CR LF CGDCONT range of...

Page 27: ...ion 2 RFC 1144 applicable for SNDCP only 3 RFC 2507 4 RFC 3095 ROHC applicable for PDCP only IPv4AddrAlloc Integer type controls how the MT TA requests to get the IPv4 address information 0 IPv4 addre...

Page 28: ...related signalling only NSLPI Integer type indicates the NAS signalling priority requested for this PDP context 0 Indicates that this PDP context is to be activated with the value for the low priority...

Page 29: ...er the AT CGACT command to deactivate the last PDN connection from the point of view of the middleware When the user uses AT CGACT to disconnect the last PDN connection the following occurs The PDN co...

Page 30: ...AT CGACT CGACT 1 0 OK AT CGACT CGACT 0 1 OK Read Command AT CGACT Response CGACT cid state CR LF CGACT cid state OK Test Command AT CGACT Response CGACT list of supported state s OK state Integer type...

Page 31: ...Write Command AT CGPADDR cid cid Response CGPADDR cid PDP_addr CR LF CGPADDR cid PDP_addr OK Test Command AT CGPADDR Response CGPADDR list of defined cid s OK cid Integer type a numeric parameter whi...

Page 32: ...auses the TA to return IMSI which is intended to permit the TE to identify the individual USIM card or active application in the UICC GSM or USIM which is attached to MT Parameter Example AT CIMI 4600...

Page 33: ...ported by the MT as compound values Parameter AT CFUN Set Phone Functionality Write Command AT CFUN fun rst Response OK If there is any error response CME ERROR err Read Command AT CFUN Response CFUN...

Page 34: ...al result code ERROR is returned normally when error is related to syntax invalid parameters or TA functionality The read command returns the current setting of n The test command returns values suppo...

Page 35: ...ers in the command CPSMS will be removed or if available set to the manufacturer specific default values The read command returns the current parameter values The test command returns the supported mo...

Page 36: ...E UTRAN e g 01000111 equals 70 hours Bits 5 to 1 represent the binary coded timer value Bits 6 to 8 define the timer value unit as follows Bits 8 7 6 0 0 0 value is incremented in multiples of 10 min...

Page 37: ...d by the network A special form of the command can be given as CEDRXS 3 In this form eDRX will be disabled and data for all parameters in the command CEDRXS will be removed or if available set to the...

Page 38: ...Disable the use of eDRX 1 Enable the use of eDRX 2 Enable the use of eDRX and enable the unsolicited result code CEDRXP AcT type Requested_eDRX_value NW provided_eDRX_ value Paging_time_window 3 Disab...

Page 39: ...8 Table 10 5 5 32 3GPP TS 24 008 The default value if available is manufacturer specific NW provided_eDRX_value String type half a byte in a 4 bit format NB S1 mode bit 4 3 2 1 E UTRAN eDRX cycle leng...

Page 40: ...d for the cell that the MS is currently registered to If the cell that the MS is currently registered to is not using eDRX AcT type 0 is returned 1 0 1 1 30 72 seconds 1 1 0 0 33 28 seconds 1 1 0 1 35...

Page 41: ...68 seconds 1 0 1 1 655 36 seconds 1 1 0 0 1310 72 seconds 1 1 0 1 2621 44 seconds 1 1 1 0 5242 88 seconds 1 1 1 1 10485 76 seconds Requested_eDRX_value String type half a byte in a 4 bit format The e...

Page 42: ...ontext activation Paging_time_window String type half a byte in a 4 bit format bit 4 3 2 1 Paging Time Window length 0 0 0 0 2 56 seconds 0 0 0 1 5 12 seconds 0 0 1 0 7 68 seconds 0 0 1 1 10 24 second...

Page 43: ...given by GSM UMTS network in textual format Parameter Example AT CEER CEER EMM_CAUSE_EPS_AND_NON_EPS_SERVICES_NOT_ALLOWED OK AT CEER OK AT CEER Extended Error Report Execution Command AT CEER Response...

Page 44: ...curs such as invalid parameter s ERROR is returned immediately In any case activated_pdp_type only exists for the activation requirement Besides URC QGACT cid type is reported when passive deactivatio...

Page 45: ...ent and should be omitted for the deactivation requirement pwd It is the password for access to the IP network which is mandatory for the activation requirement and should be omitted for the deactivat...

Page 46: ...1 apn_example username_example password_example Activate a PDN context QGACT 1 OK Return OK immediately for no error QGACT 1 1 1 1 Notify activation result via URC AT QGACT 0 1 Deactivate a PDN contex...

Page 47: ...sponding to PING packets or no response will be received A maximum of 1 ping attempts will be tried If none of the packets receive a response within the timeout period an error will be raised Paramete...

Page 48: ...socket Parameter AT QSOC Create a TCP UDP Socket Write Command AT QSOC domain type protoc ol cid Response QSOC socket_id OK If there is any error response ERROR Test Command AT QSOC Response QSOC lis...

Page 49: ...cal Address and Local Port Write Command AT QSOB socket_id local_port local_address Response OK If there is any error response ERROR Test Command AT QSOB Response QSOB list of supported socket_id s li...

Page 50: ...e Range 0 4 remote_port Integer remote port Range 0 65535 remote_address String remote address AT QSOSEND Send Data to Remote via Socket Write Command AT QSOSEND socket_id data_le n data flag Response...

Page 51: ...AT QSOCL Close Socket This command is used to close socket AT QSODIS Disconnect Socket Write Command AT QSODIS socket_id Response OK If there is any error response ERROR Test Command AT QSODIS Respons...

Page 52: ...arameter socket_id Integer socket id AT QSOC s response Range 0 4 QSONMI Socket Message Arrived Indicator URC QSONMI Possible Response QSOCL socket_id data_len data socket_id Integer socket id AT QSOC...

Page 53: ...Create socket QSOC 0 OK AT QSOCON 0 1026 220 180 239 212 Connection socket OK AT QSOSEND 0 10 1234562112 Send data OK QSONMI 0 3 3BX Receive data AT QSODIS 0 Disconnect socket OK AT QSOCL 0 Close soc...

Page 54: ...NB IoT Module Series BC26 AT Commands Manual BC26_AT_Commands_Manual 54 73 OK QSONMI 0 3 3BX Receive data AT QSODIS 0 Disconnect socket OK AT QSOCL 0 Close socket OK...

Page 55: ...current modem NB IoT operating band Parameter 6 2 AT QRESET Reset UE This command is used to reset the module immediately AT QBAND Query Current Operating Band Read Command AT QBAND Response QBAND Cur...

Page 56: ...ect code for network If there is any error response ERROR Test Command AT QRESET Response QRESET list of supported mode s OK If there is any error response ERROR mode 1 Reset the UE AT QSPCHSC Set Scr...

Page 57: ...ffset pci Response OK Otherwise response ERROR Test Command AT QFRCLLCK Response OK Read command AT QFRCLLCK Response OK lock Integer value indicating whether to activate lock or remove lock 0 Remove...

Page 58: ...l that indicates when the modem is fully woken up after a deep sleep AT QNBIOTRAI NB IoT Release Assistance Indication Test Command AT QNBIOTRAI Response QNBIOTRAI list of supported rai s OK Execution...

Page 59: ...ing cell and current network status Execution Command AT QATWAKEUP enable Response OK Otherwise response ERROR Read Command AT QATWAKEUP Response QATWAKEUP enable OK enable Integer 0 Disable indicatio...

Page 60: ...ue indicating the EARFCN for serving cell Range 0 262143 sc_earfcn_offset Integer value indicating the EARFCN offset for serving cell 0 Offset of 2 1 Offset of 1 2 Offset of 0 5 3 Offset of 0 4 Offset...

Page 61: ...epresented in value range 0 to 100 DL block error rate as per ARQ in RLC Calculated over all established RLC AM radio bearers Calculated from the beginning of successfully established resumed RRC conn...

Page 62: ...MAC_DL_HARQ_re_TX Integer value Number of HARQ retransmissions for transport blocks on DL SCH excluding BCCH Calculated from the beginning of successfully established resumed re established RRC conne...

Page 63: ...onfigure bin input is successful respond Ref id OK Otherwise response ERROR totalsize Integer The length of complete configure bin The range is 1 500 config The current configure bin in hex string for...

Page 64: ...bin Ref If configure the ONENET complete will return a Ref id AT MIPLDELETE Delete OneNET Instance Write Command AT MIPLDELETE Ref Response OK If there is an error related to ME functionality ERROR Re...

Page 65: ...t Integer Attribute count actCount Integer Action count AT MIPLDELOBJ Delete LWM2M Object Write Command AT MIPLDELOBJ Ref objId Response OK If there is an error related to ME functionality ERROR Ref R...

Page 66: ...or related to ME functionality ERROR Ref Reference ID of OneNET communication instance AT MIPLREADRSP Respond the Read request from Application Server IoT platform Write Command AT MIPLREADRSP Ref msg...

Page 67: ...l type text index The index number of the data If the data is too long and more than the AT command length should split the configure bin If split into N part The order number of index is N 1 to 0 in...

Page 68: ...it into N part The order number of index is N 1 to 0 in descending order and the AT command is called in the order from the largest to the small sequence number If the index is 0 means this is the las...

Page 69: ...latform Write Command AT MIPLNOTIFY Ref msgID ob jID insID resID valuetype le n value index flag Response OK If there is an error related to ME functionality ERROR Ref Reference ID of OneNET communica...

Page 70: ...f split into N part The order number of index is N 1 to 0 in descending order and the AT command is called in the order from the largest to the small sequence number If the index is 0 means this is th...

Page 71: ...ands_Manual 71 73 7 13 AT MIPLVER Query the OneNET Version The command is used to query the current OneNET protocol version Parameter AT MIPLVER Query the OneNET Version Read Command AT MIPLVER Respon...

Page 72: ...Number eDRX Extended Discontinuous Reception EGPRS Enhanced General Packet Radio Service GERAN GSM EDGE Radio Access Network GMT Greenwich Mean Time GPRS General Packet Radio Service HPLMN Home Public...

Page 73: ...io Resource Control RTC Real Time Clock SVN Software Version Number TA Terminal Adapter TCP Transmission Control Protocol TE Terminal Equipment TTL Time To Live UDP User Datagram Protocol UE User Equi...

Reviews: