background image

                                                                                                                                             

NB-IoT  Module  Series 

                                                                                                                              BC95  AT  Commands  Manual

 

 

BC95_AT_Commands_Manual                                  Confidential / Released                                      26 / 58 

 
 

 

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. 

Parameter

 

Example 

AT+CGATT? 

+CGATT:0 

 

OK 

AT+CGATT=1 

OK 

AT+CGATT=? 

+CGATT:(0,1) 

 

OK 

 

 

1.  If the initial PDP context is supported, the context with <cid>=0 is automatically defined at startup. 

2.  This command has the characteristics of both the V.250 action and parameter commands. Hence it 

AT+CGATT    PS Attach or Detach 

Execute/Set Command 

AT+CGATT=<state> 

Response 

OK 

 

+CME ERROR:<err> 

Read Command

 

AT+CGATT?

 

Response 

+CGATT:<state>   

 

OK 

Test Command

 

AT+CGATT=?

 

Response 

+CGATT:

(list of supported <state>s)   

 

OK 

<state> 

Integer  type;  indicates  the  state  of  PDP  context  activation.  The  default  value  is 

manufacturer specific 

 

 

 

Detached 

 

 

 

1    Attached 

<err>

     

Error value 

NOTES 

Quectel 

Confidential

Summary of Contents for 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: ...ORMATION 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 C...

Page 3: ...1 Added AT NCONFIG command 2 Updated description of Neul Hi2110 implementation for AT COPS CGATT CGDCONT NMGS NRB NCDP NTSETID 1 2 2017 01 04 Walker HAN 1 Updated description of Neul Hi2110 implement...

Page 4: ...AT CGPADDR Show PDP Addresses 21 3 10 AT COPS PLMN Selection 23 3 11 AT CGATT PS Attach or Detach 25 3 12 AT CIMI Request International Mobile Subscriber Identity 27 3 13 AT CGDCONT Define PDP Context...

Page 5: ...y 47 4 16 AT NPING Test IP Network Connectivity To A Remote Host 48 4 17 AT NBAND Set Supported Bands 48 4 18 AT NLOGLEVEL Set Debug Logging Level 49 4 19 AT NCONFIG Configure UE Behaviour 50 5 Tempor...

Page 6: ...5 AT Commands Manual BC95_AT_Commands_Manual Confidential Released 5 58 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...

Page 7: ...riage return character LF Line feed character Parameter name Angle brackets do not appear on command line Option parameter Square brackets do not appear on the command line 1 2 AT Command Syntax Table...

Page 8: ...nd is entered after the AT token OK will be returned If an invalid command is entered ERROR will be returned Optional parameters unless explicitly stated need to be provided up to the last parameter b...

Page 9: ...Registration Status B350 or later CSCON Signalling Connection Status B350 or later CLAC List Available Commands B350 or later CSQ Get Signal Strength Indicator B350 or later CGPADDR Show PDP Addresses...

Page 10: ...ater NUESTATS Query UE Statistics B350 or later NEARFCN Specify Search Frequencies B350 or later NSOCR Create Socket B350 or later NSOST SendTo Command UDP Only B350 or later NSORF Receive Command UDP...

Page 11: ...td www neul com OK 3 2 AT CGMM Request Manufacturer Model This command returns manufacturer model information By default it will return Neul Hi2110 on the standard platform Refer to Chapter 6 for poss...

Page 12: ...ld Execution command returns one or more lines of information text revision Refer to Chapter 6 for possible err values AT CGMM Request Manufacturer Model Execute Command AT CGMM Response model OK CME...

Page 13: ...ber and related information For a TA which does not support snt only OK is returned Refer to Chapter 6 for possible err values revision The total number of characters including line terminators in the...

Page 14: ...th cause_type reject_cause when available when the value of stat changes Refer to Chapter 6 for possible err values Test Command AT CGSN Response When TE supports snt and command is successful CGSN li...

Page 15: ...if available The read command returns the status of result code presentation and an integer stat which shows whether the network has currently indicated the registration of the MT Location information...

Page 16: ...egister to 3 Registration denied 4 Unknown e g out of E UTRAN coverage 5 Registered roaming 6 Registered for SMS only home network not applicable 7 Registered for SMS only roaming not applicable 8 Att...

Page 17: ...Enable network registration URC OK AT CEREG CEREG 1 OK AT CEREG CEREG 0 1 2 OK Neul Hi2110 Implementation Only CEREG n values of 0 1 and 2 are supported stat return values 0 5 are supported allocated...

Page 18: ...ror CME ERROR err is returned Refer to Chapter 6 for possible err values When the MT is in UTRAN or E UTRAN the mode of the MT refers to idle when no PS signalling connection and to connected mode whe...

Page 19: ...ture use state Integer type indicates the CS or PS state while in GERAN and the RRC state information if the MT is in connected mode while in UTRAN and E UTRAN 0 UTRAN URA_PCH state 1 UTRAN Cell_PCH s...

Page 20: ...available AT commands Execution command causes the MT to return one or more lines of AT commands Refer to Chapter 6 for possible err values Please note that this command only returns the AT commands...

Page 21: ...rns received signal strength indication rssi and channel bit error rate ber from the MT Refer to Chapter 6 for possible err values Test command returns values supported as compound values Parameter Ex...

Page 22: ...nd may or may not have an IP address associated with them Parameter AT CGPADDR Show PDP Addresses Execute Command AT CGPADDR cid cid Response CGPADDR cid PDP_addr_1 PDP_addr_2 CR LF CGPADDR cid PDP_ad...

Page 23: ...NT 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 an...

Page 24: ...is selected format oper and AcT are omitted Test command returns a set of five parameters each representing an operator present in the network A set consists of an integer indicating the availability...

Page 25: ...ual automatic oper field shall be present if manual selection fails automatic mode mode 0 is entered format Integer type 0 Long format alphanumeric oper 1 Short format alphanumeric oper 2 Numeric oper...

Page 26: ...e PLMN setting will not be retained after the UE is rebooted mode 1 is only for development use and mode 0 should be used in production when AUTOCONNECT is enabled The test command currently returns t...

Page 27: ...P context is supported the context with cid 0 is automatically defined at startup 2 This command has the characteristics of both the V 250 action and parameter commands Hence it AT CGATT PS Attach or...

Page 28: ...ommand returns International Mobile Subscriber Identity string without double quotes Execution command causes the TA to return IMSI which is intended to permit the TE to identify the individual SIM ca...

Page 29: ...identified herewith A special form of the set command CGDCONT cid causes the values for context number cid to become undefined If the initial PDP context is supported the context with cid 0 is automat...

Page 30: ...comp s list of supported h_comp s list of supported IPv4AddrAlloc s list of supported request_type s list of supported p CSCF_discovery s list of supported IM_CN_Signalling_Flag_Ind s list of supporte...

Page 31: ...RFC 2507 107 4 RFC 3095 108 applicable for PDCP only IPv4AddrAlloc Integer type controls how the MT TA requests to get the IPv4 address information 0 IPv4 address allocation through NAS signalling 1 I...

Page 32: ...ype 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 indicator configured in the MT 1 Indic...

Page 33: ...power is drawn Minimum functionality is where minimum power is drawn Level of functionality between these may also be specified by manufacturers When supported by manufacturers MT resetting with rst p...

Page 34: ...s between full and minimum functionality 128 Full functionality with radio access support according to the setting of CSRA Enables MT to transmit and receive RF circuits if it not already enabled This...

Page 35: ...y when error is related to syntax invalid parameters or TA functionality Read command returns the current setting of n Test command returns values supported as a compound value Refer to Chapter 6 for...

Page 36: ...ate message if it can t send the message Refer to Chapter 6 for possible err values Parameter Example AT NMGS 3 AA11BB OK Neul Hi2110 Implementation There is a maximum data length of 512 bytes Only on...

Page 37: ...ent New message indications can be sent when a downstream message is received by the terminal from the CDP server Refer to Chapter 6 for possible err values When new message indications and messages a...

Page 38: ...ions are turned on the unsolicited informational response NSMI status e g NSMI SENT will be issued when a new message is sent into NB IoT stack Refer to Chapter 6 for possible err values The default s...

Page 39: ...he CDP server Refer to Chapter 6 for possible err values AT NSMI Neul Sent Message Indications Set Command AT NSMI indications Response OK CME ERROR err Read Command AT NSMI Response NSMI indications...

Page 40: ...n 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 AT NQMGS Neul Quer...

Page 41: ...gure and Query CDP Server Settings This command is used to set and query the server IP address and port for the Connected Device Platform CDP server It is used when there is a Neul CDP or Huawei IoT p...

Page 42: ...statistics Refer to Chapter 6 for possible err values 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 provid...

Page 43: ...lock is removed or the UE is rebooted Refer to Chapter 6 for possible err values ECL last ECL value OK CME ERROR err signal power in centibels Signal power in centibels total power in centibels Total...

Page 44: ...tocol port combination NSOCR will fail if requested a second time Parameter AT NEARFCN Specify Search Frequencies Set Command AT NEARFCN search_mode earf cn Response OK CME ERROR err search_mode Speci...

Page 45: ...eturn with the socket that it was sent on and the number of bytes of data sent If the amount of data is larger than the largest datagram that can be sent NSOST return value will indicate how much of t...

Page 46: ...ill be returned If the requested length is larger than the actual size of the returned data only the length of returned data is provided and the remaining length is returned as 0 If the requested leng...

Page 47: ...closed or was never created an error will be returned AT NSORF Receive Command UDP Only Set Command AT NSORF socket req_length Response socket ip_addr port length data remaining_ length OK CME ERROR...

Page 48: ...g message has been completely read Refer to Chapter 6 for possible err values Parameter Neul Hi2110 Implementation Maximum data size is 512 bytes This message can occur at any point if it is indicatin...

Page 49: ...is received the NPINGERR unsolicited response will be returned with an error value Parameter Neul Hi2110 Implementation IP addresses can be specified in decimal octal or hexadecimal notation 4 17 AT N...

Page 50: ...ing values The default logging level is NONE And the value is persistent across reboots AT NBAND Set Supported Bands Set Command AT NBAND n n n Response OK CME ERROR err Read Command AT NBAND Response...

Page 51: ...of UE behavior It takes a function and a value that controls operation of that function OK level Logging level required VERBOSE CUSTOM NORMAL WARNING ERROR NONE core PROTOCOL APPLICATION SECURITY AT N...

Page 52: ...Parameter OK 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 an...

Page 53: ...command that will be replaced with a production tool Parameter Example AT NTSETID 1 123456789012345 OK Neul Hi2110 Implementation IMEI is persistent SVN is not persistent and will default to 0x00 IMEI...

Page 54: ...ed Error codes are aligned to the 3GPP spec Refer to 3GPP TS 27 007 V13 5 0 sub clause 9 2 for all possible err values The error codes listed are those returned for the Hi2110 implementation Error cod...

Page 55: ...o manually attach the network Neul Module is powered on wait for 3 seconds OK AT CGSN 1 Query the IMEI number If only ERROR is returned you need to write the IMEI CGSN 863703030104298 OK AT CFUN 1 Con...

Page 56: ...sages The following is a simple example of sending receiving and reading a CoAP message AT NCDP 192 53 100 53 Configuration CDP server This command must be executed after executing AT CFUN 0 OK AT NCD...

Page 57: ...ed BUFFERED 0 RECEIVED 1 DROPPED 0 OK 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 AT NSOC...

Page 58: ...rvice GPRS General Packet Radio Service GERAN GSM EDGE Radio Access Network HPLMN Home Public Land Mobile Network HSDPA High Speed Downlink Packet Access HSUPA High Speed Uplink Packet Access IMEI Int...

Page 59: ...mmands_Manual Confidential Released 58 58 TCP Transmission Control Protocol TE Terminal Equipment TTL Time To Live UDP User Datagram Protocol UE User Equipment UICC Universal Integrated Circuit Card U...

Reviews: