background image

Cinterion

® 

ENS22-E AT Command Set  

9.4 AT+CNMA

ENS22-E_ATC_V01.000

19/02/11

Page 147 of 189

9.4

AT+CNMA   New Message Acknowledgement to UE/TE

In PDU mode write command is used to send either positive (RP-ACK) or negative (RP-ERROR) acknowledge-

ment to the network. Parameter 

<n>

 defines which one will be sent. 

 

When 

AT+CSMS

 

<service>

=1, 

Cinterion

®

 

ENS22-E will not send another "

+CMT

" URC to the TE until 

previous one is acknowledged. When 

AT+CSMS

 

<service>

=0, 

Cinterion

®

 

ENS22-E will send "

+CMT

" URC 

to the TE for each incoming SMS, independent of acknowledgement of the previous SMS. 

 

If the UE does not receive acknowledgement within required time (network timeout), it sends an "RP-ERROR" 

message to the network. 

 

Syntax

Unsolicited Result Code

+CMT: [

<alpha>

], 

<length>

<CR><LF>

<pdu>

Indicates that new message has been received. 

Parameter Description

Parameter required only for PDU mode.
1

Send positive (RP-ACK) acknowledgement to the network. Accepted only in 

PDU mode. 

2

Send negative (RP-ERROR) acknowledgement to the network. Accepted only 

in PDU mode. 

Notes

• Write command shall only be used when 

AT+CSMS

 

<service>

=1 (Phase 2+), and an URC is issued by the

module: +CMT: [

<alpha>

], 

<length>

 <CR> <LF> 

<pdu>

.

• The 

<length>

 for CNMA in PDU mode ranges from 0 to 232.

Test Command

AT+CNMA=?

Response(s)

 

+CNMA: 

(list of supported 

<n>

s)

OK

Write Command

AT+CNMA=

<n>

[, 

<length>

<CR> PDU can be entered <CTRL-Z>/<ESC>]

Response(s)

 

OK

ERROR

+CMS ERROR: 

<err>

PIN Last

Reference(s)

+

-

3GPP TS 27.005 

[38]

<n>

(num)

Summary of Contents for Cinterion ENS22-E

Page 1: ...Cinterion ENS22 E AT Command Set Version 01 000 DocId ENS22 E_ATC_V01 000 GEMALTO COM M2M ...

Page 2: ...OR AN UNLIMITED PERIOD OF TIME TO OBSERVE SECRECY REGARDING ANY INFORMATION AND DATA PROVIDED TO HIM IN THE CONTEXT OF THE DELIVERY OF THE PRODUCT THIS GENERAL NOTE SHALL BE GOVERNED AND CONSTRUED ACCORDING TO GERMAN LAW Copyright Transmittal reproduction dissemination and or editing of this document as well as utilization of its contents and communication thereof to others without express authori...

Page 3: ...y current configuration 26 2 2 1 AT V responses 27 2 3 AT W Store AT Command Settings to User Defined Profile 28 2 4 ATQ Result Code Presentation Mode 29 2 5 ATV Result code format mode 30 2 5 1 Verbose and numeric result codes 30 2 6 ATZ Restore AT Command Settings from User Defined Profile 31 2 7 AT CFUN Functionality Level 32 2 8 AT SMSO Switch Off Cinterion ENS22 E 34 2 9 AT CMEE Error Message...

Page 4: ...ation Settings 87 6 11 AT CIPCA Initial PDP context activation 91 7 Internet Service Commands 92 7 1 AT SICS Internet Connection Setup Profile 95 7 1 1 Example GPRS connection profile 97 7 2 AT SICI Internet Connection Information 98 7 2 1 Checking Connection Profile Status 99 7 3 AT SIPS Internet Profile Storage 100 7 4 AT SISS Internet Service Setup Profile 102 7 5 AT SISI Internet Service Infor...

Page 5: ...mmands 152 11 1 ATS3 Command Line Termination 152 11 2 ATS4 Response Formatting 153 11 3 ATS5 Command Line Editing 154 11 4 AT SBNR Binary Read 155 11 5 AT SBNW Binary Write 157 11 6 Escape from Data Mode to AT Command Mode 158 11 7 AT SNFWPUPDS Incremental Firmware Update 159 12 Hardware related Commands 161 12 1 AT CCLK Real Time Clock 161 12 2 AT SBV Battery Supply Voltage 162 12 3 AT SCTM Crit...

Page 6: ...tricted access to SIM data after SIM PIN authentication 179 14 2 Available AT Commands and Dependency on SIM PIN 180 14 3 AT Command Settings storable with AT W 183 14 4 Factory Default Settings Restorable with AT F 184 14 5 Summary of Unsolicited Result Codes URC 185 14 6 Alphabetical List of AT Commands 187 ...

Page 7: ...RROR Codes proprietary 37 Table 2 3 EPS related CME ERROR Codes 3GPP TS 27 007 38 Table 2 4 SMS related CMS ERROR Codes 3GPP TS 27 005 38 Table 7 1 Applicability of AT SICS conParmTag values 95 Table 7 2 Applicability of AT SISS srvParmTag values 102 Table 12 1 Special characters for ASCII coding 168 Table 12 2 Structure of Transfer and Response Messages on the I C bus 169 Table 12 3 Structure of ...

Page 8: ...igures ENS22 E_ATC_V01 000 19 02 11 Page 8 of 189 Figure 1 1 Main character table of GSM 7 bit default alphabet 18 Figure 1 2 Extension character table of GSM 7 bit default alphabet 19 Figure 12 1 SPI modes selectable on SPI 167 List of Figures ...

Page 9: ...ersion 01 000 More information is available at http m2m gemalto com DISCLAIMER AT commands or parameters not documented in this document are subject to change and reserved for future use Gemalto M2M GmbH reserves the right to modify or even eliminate these options in later releases Cinterion ENS22 E features packet switched PS data capability but does not support circuit switched CS data trans mis...

Page 10: ... Toolkit USAT 16 ETSI TS 102 223 Smart Cards Card Application Toolkit CAT 17 3GPP TS 22 002 descendant of 3GPP TS 22 02 Circuit Bearer Services BS supported by a Public Land Mobile Network PLMN 18 3GPP TS 22 004 descendant of 3GPP TS 02 04 General on supplementary services 19 3GPP TS 22 030 descendant of 3GPP TS 02 30 Man Machine Interface MMI of the Mobile Station MS 20 3GPP TS 22 060 descendant ...

Page 11: ...P TS 07 05 Use of Data Terminal Equipment Data Circuit terminat ing Equipment DTE DCE interface for Short Message Service SMS and Cell Broadcast Service CBS 39 3GPP TS 27 007 descendant of 3GPP TS 07 07 AT command set for User Equipment UE 40 3GPP TS 27 060 descendant of 3GPP TS 07 60 Mobile Station MS supporting Packet Switched Ser vices 41 3GPP TS 22 101 descendant of 3GPP TS 02 07 and 3GPP TS 0...

Page 12: ...hroughout this document are based on 3GPP specifications For defini tions please refer to 3GPP TR 21 905 5 1 3 1 Quick Reference Table Each AT command description includes a table similar to the example shown below The table is intended as a quick reference to indicate the following functions Example PIN Is the AT command PIN protected Yes No Usage is dependent on conditions specified for the comm...

Page 13: ...g to selected character set Not enclosed in double quotes param u Unspecified i e parameter value may be numeric or string type Parameter option Meaning param CSCS Parameter value has to be is coded according to current setting of chset see AT CSCS for details param W Parameter value is stored to user profile in non volatile memory after executing AT W param V Parameter value is displayed by AT V ...

Page 14: ...her parameters If you want to omit a parameter in the middle of a string it must be replaced by a comma A parameter value enclosed in square brackets represents the value that will be used if an optional parameter is omitted When the parameter is a character string the string must be enclosed in quotation marks Symbols in quota tion marks will be recognized as strings All spaces will be ignored wh...

Page 15: ...ll always wait at least 100 ms before sending the next one This applies to bit rates of 9600 bps or higher see AT IPR At bit rates below 9600 bps the delay must be longer 300 ms at 1200 bps and 500 ms at 300 bps The pause between two AT commands gives the Cinterion ENS22 E the opportunity to the transmission of pending URCs and get necessary service The TE shall communicate with the Cinterion ENS2...

Page 16: ...rted alphabets the behavior is undefined If GSM alphabet is selected all characters sent over the serial line between TE and UE must be in the range from 0 to 127 7 bit range Note If the UE is configured for GSM alphabet but the Customer Application TE uses ASCII bear in mind that some characters have different code values such as the following character with GSM alphabet value 0 is not displayabl...

Page 17: ...programs are not able to recognize escape sequences and thus handle them as normal char acters To prevent misinterpretation of control characters or special characters it is recommended to always use UCS2 alphabet and PDU mode Character Value ASCII Character GSM Character UCS2 Character Escape Sequence Numeric Escape Sequence 0x5C Ö 00D6 5C 0x5C 0x35 0x43 0x22 0022 22 0x5C 0x32 0x32 0x00 NULL n a ...

Page 18: ...nd the corresponding two byte character value of the UCS2 alphabet For details refer to ETSI GSM 03 38 mapping into Unicode 7 1 This code is an escape to the following extension of the 7 bit default alphabet table 2 This code is not a printable character and therefore not defined for the UCS2 alphabet It shall be treated as the accom panying control character 3 See Section 1 5 for further details ...

Page 19: ...sents the EURO currency symbol The code value is the one used for the character e Therefore a receiv ing entity which is incapable of displaying the EURO currency symbol will display the character e instead 3 This code is defined as a Page Break character and may be used for example in compressed CBS messages Any mobile which does not understand the 7 bit default alphabet table extension mechanism...

Page 20: ...o zero Example 47 H 53 H 4D H 47 H 53 H 4D H displayed as GSM Case 2 Every data byte is sent to the TE as 2 IRA characters each representing a halfbyte Example B8 H 184 decimal 42 H 38 H displayed as B8 Case 3 Every 16 bit UCS2 value is sent to the TE as 4 IRA characters Example C4xA7 H 50343 decimal 43 H 34 H 41 H 37 H displayed as C4A7 Problem An odd number of bytes leads to an error because the...

Page 21: ... tion of 3 UCS2 characters converted to GSM character set and stored as 41 H 42 H 43 H Maximum input is 640 IRA characters representing 160 UCS2 characters when compression is active These are converted to 160 GSM 7 bit characters Without compression only 140 GSM characters can be stored which are put in as 560 IRA characters Values of UCS2 characters must be smaller than 80 H 128 decimal to be va...

Page 22: ...upport 039E Error not support Invalid UCS2 values must be prevented Case 9 Quotation mark and the escape character itself respectively Ö in GSM alphabet regard as illegal character Problems Error invalid characters in text string Error invalid characters in text string The character in front of the escape character itself indicates that it needs to be transferred That means can be transformed into...

Page 23: ...ING line This allows to systematically suspend any longer data connection refer to check for pending URCs after being signaled For detailed information regarding configuration of URC signaling refer to AT SCFG URC Ringline urcRin glineCfg 1 7 1 Common URCs This section contains all URCs not associated to a certain AT command They cannot be defined by the user and appear automatically when the volt...

Page 24: ...cution of all remaining com mands that may follow on the same command line If so neither ERROR nor OK result codes are returned for these commands A 30 seconds timeout will deliver ERROR when the input of a command is not complete Using the wrong command syntax may result in errors For example using the execute command syntax although the command has no execute format causes ERROR to be returned L...

Page 25: ...ous conditions 2 1 AT F Reset AT Command Settings to Factory Default Values AT F resets AT command settings to their factory default values For a list of affected parameters refer to Section 14 4 Factory Default Settings Restorable with AT F Syntax Parameter Description 0 Reset parameters in Section 14 4 Factory Default Settings Restor able with AT F to their factory default values Exec Command AT...

Page 26: ...configuration AT V returns the current parameter setting The configuration varies depending on whether or not PIN authen tication has been done Syntax Parameter Description 0 Profile number Exec Command AT V value Response s ACTIVE PROFILE see Section 2 2 1 AT V responses OK PIN Last Reference s V 250 value num ...

Page 27: ...ows different kinds of responses depending on whether or not the PIN is entered PIN authentication done No PIN authentication ACTIVE PROFILE E1 Q0 V1 C1 D2 S0 Q3 S3 013 S4 010 S5 008 CSCS GSM CMEE 2 ICF 3 CSMS 0 1 1 1 COPS 0 0 operator CEREG 0 1 OK ACTIVE PROFILE E1 Q0 V1 C1 D2 S0 Q3 S3 013 S4 010 S5 008 CSCS GSM CMEE 2 ICF 3 OK ...

Page 28: ...mmand settings will automatically be restored from the user defined profile during power up or if ATZ is used AT F restores AT command factory default settings Hence until first use of AT W ATZ works as AT F A list of parameters stored to the user profile can be found at Section 14 3 AT Command Settings storable with AT W Syntax Parameter Description 0 User Profile Number Exec Command AT W value R...

Page 29: ...smits any result code to the TE Other information text transmitted as response is not affected Syntax Parameter Description Result Code Presentation Mode It is not recommended to change this value 0 F D UE transmits result code 1 Result codes are suppressed and not transmitted Exec Command ATQ n Response s If n 0 OK If n 1 none PIN Last Reference s V 250 n num V W ...

Page 30: ...e and numeric result codes Syntax Parameter Description 0 Information response text CR LF Short result code format numeric code CR 1 F D Information response CR LF text CR LF Long result code format CR LF verbose code CR LF 2 5 1 Verbose and numeric result codes Exec Command ATV value Response s OK ERROR PIN Last Reference s ITU T V 250 9 value num V W Verbose format Numeric format Meaning OK 0 co...

Page 31: ...imilar to AT F Afterwards the AT com mand settings are restored from a user defined profile in non volatile memory of Cinterion ENS22 E if one was stored with AT W before Any additional AT command on the same command line may be ignored A delay of 300 ms is required before next AT command is sent Syntax Parameter Description 0 User Profile Number Exec Command ATZ value Response s OK PIN Last Refer...

Page 32: ...io connection or U SIM access either return an error result code e g CME ERROR 524 or reflect the limited operating state See Section 2 9 1 CME CMS Error Code Overview To return to normal mode the command AT CFUN 1 can be used After this AT COPS 0 is necessary for registering to a network Full functionality level Test Command AT CFUN Response s CFUN list of supported fun s list of supported rst s ...

Page 33: ...ameter rst applies only to fun 1 0 UE switches to fun level without reset 1 UE resets and restarts to full functionality level SHUTDOWN URC indicates that the UE has completed the reset procedure and will restart SYSSTART URC indicates that the UE has restarted and is ready to operate rst num ...

Page 34: ...ted and the ME has entered the POWER DOWN mode Therefore be sure not to disconnect the operating voltage until the V300 signal has gone low and until the URC SHUTDOWN is displayed Otherwise you run the risk of losing data For further details on how to turn off the ME refer to 2 Syntax Unsolicited Result Code SHUTDOWN Indicates that the power off procedure is finished and the module will be switche...

Page 35: ... Table 2 3 EPS related CME ERROR Codes 3GPP TS 27 007 and Table 2 4 SMS related CMS ERROR Codes 3GPP TS 27 005 Syntax Parameter Description 0 F D Disable result code i e only ERROR will be displayed 1 Enable error result code with numeric values 2 Enable error result code with verbose string values Example To obtain enhanced error messages it is recommended to choose errMode 2 Test Command AT CMEE...

Page 36: ...uired 18 SIM PUK2 required 20 memory full 21 invalid index 22 not found 23 memory failure 24 text string too long 25 invalid characters in text string 26 dial string too long 27 invalid characters in dial string 30 no network service 31 network timeout 32 network not allowed emergency calls only 40 network personalization PIN required 41 network personalization PUK required 42 network subset perso...

Page 37: ...EE 2 256 operation temporary not allowed 259 user abort 260 data Uplink busy 261 SS not executed 262 SIM blocked 263 invalid block 271 write operation temporary not allowed 272 parameter out of range 273 service profile ID out of range 274 connection profile ID out of range 275 no service 276 service already in use 277 service not in UP status 278 error in address 279 operation not allowed 286 ser...

Page 38: ...and interrupted 528 configuration conflicts 530 not the AT allocated socket 531 SIM PIN is blocked 532 SIM PUK is blocked 533 operation timeout err Code Text if AT CMEE 2 103 illegal MS 3 106 illegal ME 6 107 EPS services not allowed 111 PLMN not allowed 11 113 roaming not allowed in this tracking area 13 132 service option not supported 133 requested service option not subscribed 134 service opti...

Page 39: ...aracter set is chset GSM 7 bit the highest bit will be set to zero Syntax Parameter Description GSM F D GSM 7 bit default alphabet 3GPP TS 23 038 28 Subclause 6 2 1 UCS2 16 bit universal multiple octet coded character set ISO 10646 6 UCS2 character strings are converted to hexadecimal numbers in the range 0000 to FFFF e g 004100620063 equates to three 16 bit characters with decimal values 65 98 an...

Page 40: ... mode SYNC list of supported g_mode s SCFG MEopMode SRPOM list of supported SrpomMode s SCFG MEopMode PowerMgmt Suspend list of supported Suspend s SCFG MEShutdown sVsup threshold list of supported vthresh s SCFG Radio Band 4G list of supported lte_mask s SCFG Tcp WithURCs list of supported tcpWithUrc SCFG URC Ringline list of supported urcRinglineCfg s SCFG URC Ringline ActiveTime list of support...

Page 41: ...e DTR0 line of ASC0 interface shared with GPIO1 line AT SCFG GPIO mode DTR0 g_mode Response s SCFG GPIO mode DTR0 g_mode OK ERROR CME ERROR err Write Command Configure RING0 line of ASC0 interface shared with GPIO24 line AT SCFG GPIO mode RING0 g_mode Response s SCFG GPIO mode RING0 g_mode OK ERROR CME ERROR err Write Command Configure SPI lines MOSI MISO SPI_CLK and SPI_CS shared with ASC1 lines ...

Page 42: ...able or disable RPM if inserted U SIM contains no RPM files AT SCFG MEopMode SRPOM SrpomMode Response s SCFG MEopMode SRPOM SrpomMode OK ERROR CME ERROR err Write Command Enable disable the Suspend mode AT SCFG MEopMode PowerMgmt Suspend Suspend Response s SCFG MEopMode PowerMgmt Suspend Suspend OK ERROR CME ERROR err Write Command Query configure undervoltage threshold AT SCFG MEShutdown sVsup th...

Page 43: ...ued when the module is ready to go to Suspend mode The module will automatically go to Suspend mode when UARTs enter to Sleep mode Write Command Configuration of Internet Service URCs AT SCFG Tcp WithURCs tcpWithUrc Response s SCFG Tcp WithURCs tcpWithUrc OK ERROR CME ERROR err Write Command Subcommand controls the behaviour of the RING line if it is selected for URC signalization AT SCFG URC Ring...

Page 44: ...e for example the second serial interface ASC1 select AT SCFG GPIO mode ASC1 std The changes will take effect after restart of the UE and are non volatile std Signal lines are assigned to this interface gpio Signal lines are used as GPIO rsv Signal lines are reserved by other interface This value cannot be set by the AT SCFG write command RPM Mode This parameter enables or disables the usage of th...

Page 45: ...h 0x to be transferred into binary follow below pattern Hex8 to Hex2 can be omit if all zero but lte_mask should contain no more than 8 hexadecimal digitals and also contain at least one hexadecimal digital Cinterion ENS22 E supported band listed below 0x00000004 LTE BAND III BC3 0x00000010 LTE BAND V BC5 0x00000080 LTE BAND VIII BC8 0x00080000 LTE BAND XX BC20 0x08000000 LTE BAND XXVIII BC28 Para...

Page 46: ...ne to wake up the TE refer to 2 Setting is local for every interface off URCs are not indicated by a ring line This applies also when off is set on the ASC0 interface local D URCs are indicated by an activated ring line on the same interface where the URC appears asc0 URCs are indicated by activated RING0 line of the ASC0 interface low active This parameter determines how long the ring line is act...

Page 47: ...2 11 Page 47 of 189 SCFG URC Ringline asc0 URCs on this interface will be indicated by an acti vated RING0 no matter whether or not the UE TE link is reserved OK AT SCFG URC Ringline off Disable any Ring line indication for URCs on this interface SCFG URC Ringline off OK ...

Page 48: ...mode support 2 D UART interfaces ASC0 and ASC1 are activated with sleep mode support 100 5000 D 10000 In SLEEP mode mode 2 time in milliseconds the UE remains awake after the last sent character in case the UART is ready to go SLEEP mode i e the TE set RTS0 line to logical high Minimum value 100 ms recommended 5000 ms timeout values below 100 are denied with ERROR Note The change takes effect afte...

Page 49: ...low Control AT Q allows to configure flow control on the Cinterion ENS22 E s asynchronous serial interface ASC0 and ASC1 AT Q setting is always common for all interfaces and can be changed for compatibility reasons on each interface but is only applicable to ASC0 and ASC1 Syntax Parameter Description 0 2 These values are accepted but don t have any effect AT Q setting is always reported as n 3 in ...

Page 50: ...n 1 F DCD line shall be on only when data carrier signal is present 2 DCD line shall be on when one or more Internet services defined on the related serial channel are in an active state as described below For details on the var ious service states refer to AT SISI parameter srvState or AT SISO parameter srvState The DCD line status for an Internet service is sig naled at the interface where the s...

Page 51: ...s transparent access mode refer to AT SIST AT D offers full functionality only if the DTR0 line is enabled with AT SCFG GPIO mode DTR0 std Otherwise AT D will respond CME ERROR operation not allowed Syntax Parameter Description 0 UE ignores status of the DTR line 1 ON OFF on DTR Change to command mode while retaining the data con nection 2 F ON OFF on DTR The behaviour is like AT D1 Exec Command A...

Page 52: ... on its communication state AT S offers full functionality only if the DSR0 line is enabled with AT SCFG GPIO mode DSR0 std Other wise AT S will respond CME ERROR operation not allowed Syntax Parameter Description 0 F DSR line is always ON 1 UE in command mode DSR is OFF UE in data mode DSR is ON Exec Command AT S value Response s OK PIN Last Reference s ITU T V 250 9 value num V W ...

Page 53: ...ge 53 of 189 3 5 ATE AT Command Echo ATE controls if the Cinterion ENS22 E echoes characters received from TE during AT command state Syntax Parameter Description 0 Echo mode off 1 F Echo mode on Exec Command ATE value Response s OK PIN Last Reference s V 250 value num V W ...

Page 54: ... and AT ICF is used to switch to a format with parity e g format 2 it is necessary to explicitly set parameter parity e g AT ICF 2 1 If not done correctly Cinterion ENS22 E will respond with CME ERROR incorrect parameters This is because for format 3 the parameter parity is set to the internal value no parity which is not supported by format 2 Syntax Parameter Description Specifies the character f...

Page 55: ...ommands on the same command line cannot be avoided there are several constraints to be considered Avoid combinations with the AT commands listed in Section Combining AT commands on the same com mand line Keep in mind that there shall be a minimum pause between two AT commands as specified in Section 1 5 Communication between Customer Application and Cinterion ENS22 E The selected setting is stored...

Page 56: ... 5 Communication between Customer Application and Cinterion ENS22 E for details about timing It is highly recommended to use AT IPR as a standalone AT command i e better do not combine with other commands on the same AT command line The current setting of AT IPR will be preserved after firmware download i e a firmware update does not restore the factory setting or in the event of power failure Syn...

Page 57: ... Avoid combinations with the AT commands listed in Section Combining AT commands on the same com mand line Keep in mind that there shall be a minimum pause between two AT commands as specified in Section 1 5 Communication between Customer Application and Cinterion ENS22 E If switching to the new bit rate takes effect while a response is being transmitted the last bytes may be sent with the new bit...

Page 58: ...nked entities 4 1 ATI Display product identification information The ATI execute command delivers a product information text Syntax Parameter Description Version xx and variant yyy of software release Revision of Application software in the format XX YYY ZZ where X Y and Z are numbers Exec Command ATI Response s Cinterion ENS22 E REVISION revUE OK Exec Command ATI1 Response s Cinterion ENS22 E REV...

Page 59: ..._V01 000 19 02 11 Page 59 of 189 4 2 AT CGMI Request manufacturer identification AT CGMI returns a manufacturer identification text Syntax Test Command AT CGMI Response s OK Exec Command AT CGMI Response s Cinterion OK PIN Last Reference s 3GPP TS 27 007 39 ...

Page 60: ..._ATC_V01 000 19 02 11 Page 60 of 189 4 3 AT CGMM Request model identification AT CGMM returns a product model identification text Syntax Test Command AT CGMM Response s OK Exec Command AT CGMM Response s ENS22 E OK PIN Last Reference s 3GPP TS 27 007 39 ...

Page 61: ... CGMR Request revision identification and software version AT CGMR delivers product firmware version identification Syntax Parameter Description Version xx and variant yyy of software release Test Command AT CGMR Response s OK Exec Command AT CGMR Response s REVISION number OK PIN Last number str ...

Page 62: ...clause 6 2 1 and 3GPP TS 27 007 39 Integer type indicating the serial number type that has been requested IMEISV International Mobile station Equipment Identity and Software Version number The 16 digits of IMEISV are composed of Type Allocation Code TAC 8 digits Serial Number SNR 6 digits and the software version SVN 2 digits For information on IMEISV refer to 3GPP TS 23 003 subclause 6 2 2 and 3G...

Page 63: ...t 4 5 AT CGSN ENS22 E_ATC_V01 000 19 02 11 Page 63 of 189 Current SVN which is a part of IMEISV refer 3GPP TS 23 003 subclause 6 2 2 and 3GPP TS 27 007 39 This allows identifying different software versions of a given mobile SVN num ...

Page 64: ...livers the International Mobile Subscriber Identity IMSI The IMSI permits the TE to identify the indi vidual SIM attached to the UE Syntax Parameter Description International Mobile Subscriber Identity string without quotes Test Command AT CIMI Response s OK Exec Command AT CIMI Response s imsi OK ERROR CME ERROR err PIN Last Reference s 3GPP TS 27 007 39 imsi str ...

Page 65: ...ng data from the SIM The duration of reading varies with the SIM card This may cause a delay of several seconds before all commands which need access to SIM data are effective See Section 14 1 Restricted access to SIM data after SIM PIN authentication for further detail Syntax Parameter Description Password string type e g SIM PIN1 If the requested password was a PUK then pin must be followed by n...

Page 66: ...as entered and accepted with OK but the ME fails to register to the network This may be due to missing network coverage denied network access with currently used SIM card no valid roaming agreement between home network and currently available operators etc Cinterion ENS22 E offers various options to verify the present status of network registration For example the AT COPS command indicates the cur...

Page 67: ...and authority for passwords depend on the facility in question and are therefore listed in the section on parameter facility Passwords can be modified with AT CPWD Example Lock U SIM card facility SC Test Command AT CLCK Response s CLCK list of supported facility s OK Write Command AT CLCK facility mode password Response s OK ERROR CME ERROR err PIN Last Reference s 3GPP TS 27 007 39 3GPP TS 22 00...

Page 68: ...89 AT CLCK SC 0 9999 Unlocks SIM card OK When powered up UE registers to the network without requesting SIM PIN1 Note Depending on the services offered by the provider this feature is not supported by all SIM card types If so the command returns ERROR when you attempt to unlock the card ...

Page 69: ...f the SIM PUK password is possible only with AT command AT CPIN password length 4 to 8 digits 4 8 Length of password The range of permitted length for a password depends on the associated facility It is available from the test command response or in the description of parameter facility Password specified for the facility New password Test Command AT CPWD Response s CPWD list of supported facility...

Page 70: ... COPN command returns the list of operator names from the UE Each operator code numericn that has an alphanumeric equivalent alphan in the UE memory is returned Syntax Parameter Description Operator in numeric format Operator in long alphanumeric format Test Command AT COPN Response s OK ERROR CME ERROR err Exec Command AT COPN Response s COPN numericn alphan COPN OK ERROR CME ERROR err PIN Last R...

Page 71: ... representation of the operator and an integer indicating the acccess technology of the operator Any of the parameters may be unavailable and will then be an empty field The list of operators comes in the following order Home network networks referenced in SIM and other networks The operator list is followed by a list of the supported mode s and format s These lists are delimited from the operator...

Page 72: ... PLMN Preferred PLMN related U SIM elementary files are EF_LOCI EF_IMSI EF_PLMNwAcT The same priority order applies when swapping the U SIM during operation In manual mode only format 2 is supported 2 Manually deregister from network and remain unregistered until mode 0 or 1 is selected 3 Set only format for AT COPS read command Radio Access Technology RAT 9 E UTRAN NB S1 mode 0 F D Long alphanume...

Page 73: ...in percent For 2G networks only 99 not known or not detectable Received signal code power see 3GPP TS 25 133 37 subclauses 9 1 1 3 and 9 1 1 1 3 For 3G networks only 255 not known or not detectable Ratio of the received energy per PN chip to the total received power spectral density see 3GPP TS 25 133 37 subclause 9 1 2 3 For 3G networks only 255 not known or not detectable Reference signal receiv...

Page 74: ...3 5 dB rsrq 3 dB 34 3 dB rsrq 255 not known or not detectable Reference signal received power see 3GPP TS 36 133 43 subclause 9 1 4 For 4G networks only 0 rsrp 140 dBm 1 140 dBm rsrp 139 dBm 2 139 dBm rsrp 138 dBm 95 46 dBm rsrp 45 dBm 96 45 dBm rsrp 44 dBm 97 44 dBm rsrp 255 not known or not detectable rsrp num ...

Page 75: ... zone has changed URC 2 CTZE tz dst time The URC provides information on local time and daylight saving time URC 3 CTZEU tz dst utime The URC provides information on universal time and daylight saving time Parameter Description 0 P Disable event reporting by URCs 1 Enable time event reporting by CTZV 2 Enable time event reporting by CTZE 3 Enable time event reporting by CTZEU Test Command AT CTZR ...

Page 76: ...s daylight saving time Time in format yy mm dd hh mms wherein characters indicates year month day hour minutes seconds Time in format yy mm dd hh mms wherein characters indicates year month day hour minutes seconds Parameter indicates daylight saving time as follows 0 No adjustment for daylight daving time 1 1 hour adjustment for daylight saving time 2 2 hour adjustment for daylight saving time tz...

Page 77: ...ault values One byte in an 8 bit format Requested extended periodic TAU value to be allocated to the UE in E UTRAN The requested extended peri odic TAU value is coded as one byte octet 3 of the GPRS Timer 3 information element coded as bit format e g 01000111 equals 70 hours For more information on coding and value range see 3GPP TS 24 008 33 table 10 5 163a Test Command AT CPSMS Response s CPSMS ...

Page 78: ...t Requested Active time value to be allocated to the UE The requested 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 more information on coding and value range see 3GPP TS 24 008 33 table 10 5 163 RequestedActiveTime str NV ...

Page 79: ...See Section 6 6 1 AT SMONI Responses OK PIN Last Syntax SMONI ACT EARFCN Band Deployment type PLMN code TAC Cell ID RSRP RSRQ RSSI TX power Connection state SNR Example SMONI NB IoT 3736 8 4 46000 3d45 3632849 805 117 720 210 NOCONN 83 Syntax SMONI ACT EARFCN Band Deployment type PLMN code TAC Cell ID RSRP RSRQ RSSI TX power Connection state SNR Example SMONI NB IoT SEARCH Syntax SMONI ACT EARFCN ...

Page 80: ...SLEEP Sleeping The MS is in LTE PSM Power Saving Mode Column Description ACT Access Technology EARFCN E UTRA Absolute Radio Frequency Channel Number Band E UTRA frequency band see 3GPP 36 101 Deployment type Unknown mode 0 in band different PCI mode 1 in band same PCI mode 2 guard band 3 or stand alone 4 PLMN code Public Land Mobile Network code TAC Tracking Area Code see 3GPP 23 003 Section 19 4 ...

Page 81: ...hbour cells have the same PLMN as the serving cell In case of searching for a network the serving cell can change and the UE shows different sets of neighbour cells depending on the PLMN of the serving cell 6 7 1 AT SMONP Responses In case of a NB IoT serving cell Columns for NB IoT parameters Test Command AT SMONP Response s OK Exec Command AT SMONP Response s See Section 6 7 1 AT SMONP Responses...

Page 82: ... Received Power as measured by L1 in cBm see ETSI TS 136 214 version 10 1 0 Section 5 1 1 RSRQ Reference Signal Received Quality as measured by L1 in cB see ETSI TS 136 214 version 10 1 0 Section 5 1 3 RSSI Received Signal Strength Indication as measured by L1 in cBm SNR Signal to Noise Ratio Column Description ...

Page 83: ...e When mode 2 CEDRXP AcT type Requested_eDRX_value NW_provided_eDRX_value Paging_time_window eDRX is enabled and URC code is enabled when the eDRX values provided by network has changed Parameter Description Enable or disable use of eDRX in the UE This parameter is applicable to all specified types of access technol ogy i e the most recent setting of mode will take effect for all specified values ...

Page 84: ... seconds 1100 1310 72 seconds 1101 2621 44 seconds 1110 5242 88 seconds 1111 10485 76 seconds Half a byte in a 4 bit format The values are coded in the same way as for Requested_eDRX_value Half a byte in a 4 bit format The requested values are applied immediately and are stored non volatile In case the module is attached to the network the change of the values will trigger tracking area update The...

Page 85: ...Cinterion ENS22 E AT Command Set 6 8 AT CEDRXS ENS22 E_ATC_V01 000 19 02 11 Page 85 of 189 1101 35 84 seconds 1110 38 4 seconds 1111 40 96 seconds ...

Page 86: ...d Requested_eDRX_value NW_provided_eDRX_value and Paging_time_window if eDRX is used for the cell that the MS is currently registered to If the cell that the MS is currently registered to is not using eDRX the AcT type 0 is returned Syntax Test Command AT CEDRXRDP Response s OK Exec Command AT CEDRXRDP Response s CEDRXRDP AcT type Requested_eDRX_value NW_provided_eDRX_value Paging_time_window OK E...

Page 87: ...0 1 SNLWM2M URC procedure dft fwupdate enabled 0 1 SNLWM2M act dft start stop OK Write Command Resource configure and Query rsc value on AT SNLWM2M interface AT SNLWM2M cfg dft mgmt rsc rsc value Response s SNLWM2M cfg dft mgmt rsc rsc value OK ERROR CME ERROR err Write Command Enable LwM2M client AT SNLWM2M act dft action Response s SNLWM2M act dft action OK ERROR CME ERROR err Write Command Conf...

Page 88: ... rsc value is corresponding to PSK Value Resource value is depending to mgmt rsc This parameter is used for configure Lwm2m server when mgmt rsc is 0 0 0 And format will be like this IP Port Where IP IPv4 address in dot separated numeric 0 255 parameter of the form a1 a2 a3 a4 Port 0 65535 If the port value is omitted the port is 5683 by default NOTE Only IPv4 is supported IMEI must be set prior t...

Page 89: ...e This parameter is used for enabling URCs to inform about the client automatic processing where fwdownload fwupdate Configures the urc property as enabled which means the URC is sent Configures the urc property if the URC is sent or not where 0 The URC is not sent 1 The URC is sent This parameter is used for URC status when there is a change of server connection Registered is the default value th...

Page 90: ...Cinterion ENS22 E AT Command Set 6 10 AT SNLWM2M ENS22 E_ATC_V01 000 19 02 11 Page 90 of 189 Downloaded IP address e g coaps 35 221 220 95 indication text str ...

Page 91: ... the current setting of the command The AT CIPCA write command controls whether the UE is attached to E UTRAN with or without a PDN connec tion Syntax Parameter Description Activation of PDP context upon attach 3 No change in current setting EPS Attach with or without PDN connection 0 EPS Attach with PDN connection 1 EPS Attach without PDN connection Test Command AT CIPCA Response s CIPCA list of ...

Page 92: ... A URC indicates how to proceed The SISW URC means that data can be sent The SISR URC means that received data are available for reading If an error occurs the SIS URC is delivered instead The next steps differ depending on the service type and the transfer mode Non Transparent or Transparent Once a service is opened the AT SISI command shall be used to monitor the progress of the session The comm...

Page 93: ...nection can be supported at a time URC mode or polling mode for non Transparent Mode only The Cinterion ENS22 E offers two modes of controlling a Non Transparent Mode session opened with AT SISO To select the mode use the AT SCFG command parameter Tcp WithURCs refer to tcpWithUrc URC mode delivery default The progress of a Non Transparent Mode session is URC driven The URCs notify the host whether...

Page 94: ...ng the DCD line to detect the connection status of Internet services With AT C you can configure the DCD line of the used serial interface to indicate whether an Internet service is active For Socket the states Up or Connecting are indicated Usage of IP Service commands on different interfaces The UE allows to create an Internet service profile on one interface with AT SISS and to use it on anothe...

Page 95: ...needs to be executed for each single conParmTag All pro file parameters set with AT SICS are volatile To save profile settings in non volatile memory please refer to AT SIPS Cinterion ENS22 E is designed to use PAP authentication Password Authentication Protocol when parameters user and passwd are given within the connection profile If credentials are omitted no authentication is performed The lis...

Page 96: ...me APN string value maximum 63 characters where is default Parameter value type and supported content depend on related conParmTag Supported connection type values in conParmValue for conParmTag value conType GPRS0 Packet switched connection type IPv4 GPRS6 Packet switched connection type IPv6 none Clears the connection profile Supported string parameter character set selections in conParmValue fo...

Page 97: ...ofile at sics 0 conType GPRS0 Select connection type GPRS0 OK AT SICS 0 alphabet 1 The character set of string parameters ASCII OK AT SICS 0 passwd t d1 Password for GPRS services provided by the Ger man operator T D1 OK AT SICS 0 apn internet t d1 de APN to access the GPRS services provided by the German operator T D1 OK ...

Page 98: ...conProfileId 0 4 State of the Internet connection profile 0 Down Internet connection is defined but not connected 1 Connecting A service has been opened and so the Internet connection is ini tated 2 Up Internet connection is established and usable by one or more services 3 Limited Up Internet connection is established but temporarily no network cov erage Number of services using this Internet conn...

Page 99: ... str at sici Query the current status of the connection profile SICI 1 2 1 10 10 0 161 One connection profile has been created at con ProfileId 1 and one service is opened using this connection profile The Internet connection is in conState 2 Up OK at sici Query once again the current status of the connec tion profile SICI 1 3 1 10 10 0 161 Parameter conState has changed to state Lim ited up OK at...

Page 100: ...is given only specific profile will be reset Only the connections which are in Down status and the services which are in Allocated status could be affected save Stores current profile s for given type If ProfileId is given only specific profile will be stored load Loads stored profile s for given type If ProfileId is given only specific profile will be loaded Internet connection or service profile...

Page 101: ...t 7 3 AT SIPS ENS22 E_ATC_V01 000 19 02 11 Page 101 of 189 Note All stored settings of IP service cannot be loaded automatically during startup They can only be loaded from non volatile memory by executing AT SIPS type load ProfileId ...

Page 102: ...he applicability of all other srvParmTag values related to this srvType and sets their defaults Changing the srvParmTag srvType of an existing service profile will reset the srvParmTag default values to suit the new srvType To change the settings the write command needs to be executed for each single srvParmTag All profile parameters set with AT SISS are volatile To save profile settings in non vo...

Page 103: ...ed values of srvParmValue refer to srvParmValue alphabet conId Internet connection profile to be used for details refer AT SICS address String value containing the URL for the specific service If address contains a semicolon quotes are mandatory When GSM alphabet is enabled see AT CSCS keep in mind that escape sequences are required for some special characters For example underscore _ shall be esc...

Page 104: ...d data the characters shall be doubled DLE DLE timer The parameter configures the Nagle algorithm which is used in transparent access mode range 20 100 500 milliseconds in steps of 20 Parameter value type and supported content depend on related srvParmTag Supported Internet service type values in srvParmValue for srvParmTag value srvType Before changing the srvType of an existing service profile b...

Page 105: ...If the specified service profile is not defined yet CME ERROR is returned Syntax Test Command AT SISI Response s SISI list of defined srvProfileId s OK Read Command AT SISI Response s If response is related to service profile s created opened on this interface SISI srvProfileId srvState rxCount txCount ackData unackData SISI If response is related to service profile s created opened on other inter...

Page 106: ...th the parameter txCount Number of data bytes already sent and acknowledged at TCP layer Value 0 indicates that no sent data is acknowledged yet Parameter is not applicable to Socket with UDP For these services the counter is always set to 0 Number of data bytes already sent but not yet acknowledged at TCP layer A value 0 indicates that all sent data is already acknowledged This is the same value ...

Page 107: ... error with AT SISE e g AT SISE 4 If necessary repeat the sequence several times Query available data with AT SISR e g AT SISR 4 1358 Check service state with AT SISI e g AT SISI 4 if necessary several times until srvState 6 Down Check error with AT SISE e g AT SISE 4 Close service with AT SISC e g AT SISC 4 Download Socket Enter the AT SISO command e g AT SISO 4 Enter AT SISR specify reqReadLengt...

Page 108: ...ion 3 Connecting State after opening a service with AT SISO where the connection is being established If connection setup is successful the service proceeds to the state 4 Up and one of the URCs SISW and SISR may follow If connection setup is not successful the SIS URC may appear and the service enters srvState 6 Down 4 Up The service performs its purpose The data transfer process is the major fun...

Page 109: ...ned and a default value will be shown instead Notes If a service or network error occurs during an IP session and the SIS URC or the AT SISE command dis play an error message the service enters srvState 6 i e the IP connection is closed In this case the service still allows reading the data stored in the buffer but writing data is denied After reading close the service and open it again As in poll...

Page 110: ... released all status information parameters e g srvState unackData ackData rxCount and txCount counters are reset Only the initial configuration settings are pre served The service can be restarted any time using the same configuration or a new one Syntax Parameter Description 0 4 srvProfileId specified with AT SISS Test Command AT SISC Response s OK Write Command AT SISC srvProfileId Response s O...

Page 111: ...an requested with reqReadLength during the last Read Data operation and new data is available The URC is disabled in polling mode See AT SCFG parameter Tcp WithURCs tcpWithUrc The maximum data that can be cached is less than 4096 bytes depending on the remaining memory size Parameter Description srvProfileId 0 4 specified with AT SISS 0 Peek Operator Query number of received bytes within internal ...

Page 112: ...er of the AT SISR write command response displayed only if the Socket service uses the UDP protocol The reception of each datagram must be completed before the next datagram can be received This may be a problem if the buffer of the host application is limited and not designed to handle the maximum packet size of 1358 bytes To compensate this the host is advised to request via reqReadLength an amo...

Page 113: ...ffer size 6 bytes Datagram A 18 bytes content THIS_IS_DATAGRAM_A Datagram B 3 bytes content NEW SISR 0 1 Service profile 0 is configured for Socket service and UDP The URC notifies host that data is available for reading at sisr 0 6 The host requests to read 6 bytes SISR 0 6 12 THIS_I The first 6 bytes of datagram A are confirmed and transmitted Another 12 bytes are still available OK at sisr 0 6 ...

Page 114: ... Mode The initial SISW URC is not issued after a UDP Endpoint was opened because the SIS URC will be issued During AT SISW write cycles the SISW URC indicates that the service is ready to accept new data The URC is disabled in polling mode See AT SCFG parameter Tcp WithURCs tcpWithUrc Parameter Description srvProfileId 0 4 specified with AT SISS 0 1358 Specifies the number of bytes to be sent with...

Page 115: ... data sent so far is acknowledged unackData includes the cnfWriteLength value of the pending write operation Therefore the very first write operation of an upload job returns identical values for cnfWriteLength and unackData This mechanism allows the host application to easily verify whether or not the remote host has successfully received the data Parameter is not applicable to Socket with UDP pr...

Page 116: ... code and goes to srvState 6 Down in case of UDP Client The NO CARRIER result code starts with 0x10 DLE and 0x04 EOT and ends with the command line termination character ATS3 followed by the response formatting character ATS4 If the service is in AT Command Mode the SISR x 1 URC appears to indicate that the state of the service has changed In this case the client shall go to Transparent Mode with ...

Page 117: ...17 of 189 Parameter Description srvProfileId 0 4 specified with AT SISS Notes There can be only one Socket service in Transparent Mode at the same time AT SIST is only usable on ASC0 interface Transparent mode will block module goes into sleep mode and suspend mode srvProfileId num ...

Page 118: ...GDCONT for the PDP context definition to be used see cid For AT SISX only PDP Context Identifier 0 can be used If the specified PDP context is not yet activated then AT SISX returns ERROR In case of Ping this is theIP address i e 192 168 1 3 The IP address of the host i e 192 168 1 3 Test Command AT SISX Response s SISX Ping list of supported conProfileId s range of supported request s range of su...

Page 119: ...tic calculated from the ping response s received for pingInfoType 1 3 one row time statistics calculated from the ping response s received for pingInfoType 1 displayed only if at least one Echo response message was received Round Trip Time in milliseconds If the Echo Response message is not received within the time specified by timelimit the value 1 is returned e g when the bearer shuts down durin...

Page 120: ...r AT SIST will return an error response Syntax Parameter Description Internet service profile identifier as defined by AT SISS srvProfileId 0 4 Reason for Internet service error This is a subset of the urcInfoId s which can be found in Section 7 13 Internet Service URC SIS The value 0 indicates there is no special Internet service error Information text related to infoID This is a subset of the ur...

Page 121: ...rked with the precise text related to a urcInfoId varies greatly depending on the scenario and the implementation of the remote server In these cases only a brief explanation of the scenario can be found in the table column Description Parameter Description URC cause identifier 0 An event has occurred after opening or while using an Internet service The event number is presented via urcInfoId and ...

Page 122: ...rror 12 The address is already in use Socket error 13 The network is unavailable Socket error 14 An established connection was aborted transmission time out or protocol error Socket error 15 Remote host has reset the connection Socket error 16 No buffer space available Socket error 17 The socket is already connected Socket error 18 For TCP IP sockets the socket is not connected Socket error 20 Con...

Page 123: ...error 69 DTLS configuration PSK failed DTLS error 70 DTLS setup failed DTLS error 71 DTLS socket failed DTLS error 72 DTLS handshake timeout DTLS error 73 DTLS handshake failed DTLS error 74 DTLS write failed DTLS error 75 DTLS initial failed DTLS error 76 DTLS alloc failed DTLS error 77 DTLS peer closed DTLS error 90 PDP internal error 1 91 PDP internal error 2 94 PDP conection failed urcInfoId u...

Page 124: ...UDP Scenario The following example shows a communication between a UDP endpoint host 1 and a UDP client host 2 Part 1 of the example refers to the UDP endpoint and shows the configuration which allows the UDP endpoint to communicate with any UDP client Part 2 shows the settings of a UDP client Part 3 and 4 are running in parallel Part 3 shows the procedures on the UDP endpoint side done when commu...

Page 125: ...bout the remote client i e the address of host 2 OK AT SISW 0 25 10 10 0 222 6561 Host 1 starts sending 25 bytes to host 2 SISW 0 25 0 Host 1 is sending the message Hi I m the UDP end point 25 bytes to host 2 As a result host 2 is receiving the URC SISR 1 1 shown below in part 4 of the example OK SISW 0 1 URC confirms that host 1 can send data again AT SISC 0 Close the service OK AT SISO 1 Open th...

Page 126: ...SO 1 Open Transparent UDP service OK SISW 1 1 URC indicates that Transparent UDP service is ready at sist 1 Open transparent access mode CONNECT Service is ready to send or receive data Client is sending data e g Good Morning not visible in example Client types to return to AT command mode not visible in example OK at sisi 1 Check the service state of service profile 1 SISI 1 4 0 16 0 0 Service is...

Page 127: ... the service state of service profile 1 SISO 0 SISO 1 Socket 2 1 0 0 0 0 0 0 0 10 10 0 108 65532 Service is in state Allocated 2 Socket not assigned SISO 2 SISO 3 SISO 4 SISO 5 SISO 6 SISO 7 SISO 8 SISO 9 OK AT SISX Ping 0 192 168 1 2 4 2000 SISX Ping 1 0 192 168 1 2 1043 SISX Ping 1 0 192 168 1 2 586 SISX Ping 1 0 192 168 1 2 531 SISX Ping 1 0 192 168 1 2 415 SISX Ping 2 1 4 4 0 0 SISX Ping 3 1 4...

Page 128: ... activate the specified contexts For EPS if an attempt is made to disconnect the last PDN connection then the MT responds with ERROR or if extended error responses are enabled a CME ERROR For EPS the activation request for an EPS bearer resource will be answered by the network by either an EPS dedicated bearer activation or EPS bearer modifica tion request The request must be accepted by the MT be...

Page 129: ...ched 1 Attached Parameter specifies a particular PDP context definition see AT CGDCONT parameter cid The parameter is used in other PDP context related commands Note A maximum of 11 contexts can be activated at the same time no matter on which interface Note that depending on the provider the number of activated contexts may be further restricted state num cid num ...

Page 130: ...be automatically deactivated when the attachment state changes to detached The AT CGATT read command returns the current Packet Domain service state The AT CGATT test command is used for requesting information on the supported Packet Domain service states Syntax Parameter Description Indicates the state of Packet Domain attachment The parameter is global for all interfaces 0 P Detached 1 Attached ...

Page 131: ... parameter cid 0 10 Types of authentication to be used for specified PDP context 0 none Used to indicate that no authentication protocol is used for this PDP context Username and password are removed if previously specified 1 PAP 2 CHAP Test Command AT CGAUTH Response s CGAUTH range of supported cid s list of supported auth_prot s max string length of userId s max string length of password s OK ER...

Page 132: ...AT CGAUTH ENS22 E_ATC_V01 000 19 02 11 Page 132 of 189 Specifies the user name used for authentication Specifies the password used for authentication Note The length of userId and password can be 0 to 60 characters userId str password str ...

Page 133: ... for each defined PDP context The AT CGDCONT test command returns supported values as a compound value Syntax Parameter Description PDP Context Identifier Parameter specifies a particular PDP context definition The parameter is used in other PDP context related commands The cid value cannot be set to 7 when Bearer Independent Protocol BIP is enabled Only the context definition with cid 0 is stored...

Page 134: ...only when cid 0 See 3GPP TS 44 065 for details 0 off Header Compression Controls the PDP header compression It is stored in non volatile NV memory only when cid 0 See 3GPP TS 44 065 3GPP TS 25 323 for details 0 off Numeric parameter used to indicate the NAS signalling priority requested for this PDP context The MT utilises the provide NSLPI information as specified in 3GPP TS 24 301 and 3GPP TS 24...

Page 135: ...lue and the extended periodic TAU value if there is a change of the network cell in E UTRAN The value n 5 further enhances the URC with CauseType and RejectCause when the value of stat changes The parameters AcT tac ci CauseType RejectCause ActiveTime and PeriodicTAU are provided only if available AT CEREG read command queries the current URC presentation status and stat which shows whether the ne...

Page 136: ...network registration URC 1 Enable network registration URC CEREG stat 2 Enable network registration URC CEREG stat tac ci AcT 3 Enable network registration location information and EMM cause value infor mation URC CEREG stat tac ci AcT CauseType RejectCause 4 For a UE that wants to apply PSM enable network registration and location information URC CEREG stat tac ci AcT ActiveTime PeriodicTAU 5 For...

Page 137: ... Active Time value T3324 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 min utes For the coding and the value range see the GPRS Timer 2 IE in 3GPP TS 24 008 33 table 10 5 163a 3GPP TS 23 682 and 3GPP TS 23 401 Indicates the extended periodic TAU value T3412 allocated to the UE in E...

Page 138: ...r PDP context definition see AT CGDCONT parameter cid A string that identifies the MT in the address space applicable to the PDP The address may be static or dynamic If address is not available parameter is omitted Parameter specifies the assigned address as a dot separated numeric 0 255 parameter of the form a1 a2 a3 a4 for IPv4 or colon separated hex numeric 0000 FFFF parameter of the form a1 a2...

Page 139: ...to the PDP The address may be static or dynamic Parameter is displayed only when both IPv4 and IPv6 addresses are assigned with PDP_address_1 con taining the IPv4 address and this parameter the IPv6 address Parameter specifies the assigned IPv6 address as a colon separated hex numeric 0000 FFFF parameter of the form a1 a2 a3 a4 a5 a6 a7 a8 PDP_address_2 str ...

Page 140: ...l be set to zero The maximum data length is 1358 bytes when NONIP is used Data exceeding the maximum length will be discarded string of octets Contains the user data container contents refer to 3GPP TS 24 301 subclause 9 9 4 24 When there is no data to transmit the cpdata shall be an empty string This parameter shall not be subject to conventional character conversion as per CSCS The coding format...

Page 141: ...hat exchange of data will be completed with the transmission of the ESM DATA TRANSPORT message 2 The MT expects that exchange of data will be completed with the receipt of an ESM DATA TRANSPORT message Indicates whether the user data that is transmitted is regular or exceptional 0 Regular data 1 Exception data Sequence of data If omitted module will not report data sent status 1 255 Data sent stat...

Page 142: ...data_length cpdata when data is received from the network Parameter Description controlling reporting of mobile terminated control plane data events 0 Disable reporting of MT control plane data 1 Enable reporting of MT control plane data by the unsolicited result code CRT DCP PDP Context Identifier Parameter specifies a particular PDP context definition see AT CGDCONT parameter cid The parameter i...

Page 143: ... discarded string of octets Contains the user data container contents refer to 3GPP TS 24 301 subclause 9 9 4 24 When there is no data to receive the cpdata is an empty string This parameter shall not be subject to conven tional character conversion as per CSCS The coding format of the user data container and the maximum length of cpdata are implementation specific Notes Only one message is buffer...

Page 144: ...g in PDU mode the length of the actual TP data unit in octets Message Reference 3GPP TS 23 040 29 TP Message Reference in integer format In the case of SMS 3GPP TS 24 011 32 SC address followed by 3GPP TS 23 040 29 TPDU in hexadecimal format UE converts each octet of TP data unit into hexadecimal numbers containing two IRA characters e g octet with integer value 42 is represented as two characters...

Page 145: ...nded to only use the command line termi nation character ATS3 before starting PDU input Use of line termination character followed by an additional response formatting character ATS4 may cause the problem that the latter will become part of the input data The length value ranges from 8 to 174 Test Command AT CMGC Response s OK Write Command PDU mode AT CMGC length CR PDU can be entered CTRL Z ESC ...

Page 146: ... value can be used to identify the message in a delivery status report provided as an unsolicited result code Syntax Notes The length value ranges from 7 to 164 In general but especially at baudrates below 19200 it is recommended to only use the command line termi nation character ATS3 before starting PDU input Use of line termination character followed by an additional response formatting charact...

Page 147: ...ent within required time network timeout it sends an RP ERROR message to the network Syntax Unsolicited Result Code CMT alpha length CR LF pdu Indicates that new message has been received Parameter Description Parameter required only for PDU mode 1 Send positive RP ACK acknowledgement to the network Accepted only in PDU mode 2 Send negative RP ERROR acknowledgement to the network Accepted only in ...

Page 148: ...te commands when the length of the SMSC address coded into the pdu parameter equals zero Syntax Notes This command writes the service center address to non volatile memory The SMS service center address should be entered as specified by the service provider The service center address cannot be an empty string Test Command AT CSCA Response s OK Read Command AT CSCA Response s CSCA sca tosca OK Writ...

Page 149: ...mes 1 3GPP TS 23 040 29 and 3GPP TS 23 041 30 the syntax of SMS AT com mands is compatible with 3GPP TS 27 005 38 Phase 2 version the require ment of service setting 1 is mentioned under corresponding command descriptions Mobile Terminated Messages 0 Type not supported 1 P Type supported Mobile Originated Messages 0 Type not supported 1 P Type supported Test Command AT CSMS Response s CSMS list of...

Page 150: ...V01 000 19 02 11 Page 150 of 189 Broadcast Type Messages Feature not applicable to Cinterion ENS22 E 0 Type not supported Note Phase 2 service 1 must be set before the following features can be used Acknowledging incoming short messages with AT CNMA bm num V ...

Page 151: ...tification Number AT CCID serves to query the U SIM card identification number This information is retrieved from U SIM Ele mentary File EFICCID For details refer to 3GPP TS 11 11 10 3GPP TS 31 101 11 3GPP TS 31 102 12 Syntax Parameter Description ICCID Integrated Circuit Card ID of the U SIM card Test Command AT CCID Response s OK Read Command AT CCID Response s CCID ICCID OK ERROR CME ERROR err ...

Page 152: ...tion 000 013 F 127 Notes Command ATS3 is dummy and has no effect on module behavior Read command will return value written by user or default value n 13 Write command will return OK or ERROR OK when parameter n is in range ERROR otherwise Despite OK returned in case of any parameter from range no changes will be made Parameter is volatile If changing this setting the new value has no effect for SH...

Page 153: ... Command ATS4 is dummy and has no effect on module behavior Read command will return value written by user or default value n 10 Write command will return OK or ERROR OK when parameter n is in range ERROR otherwise Despite OK returned in case of any parameter from range no changes will be made Parameter is volatile Read Command ATS4 Response s n OK Write Command ATS4 n Response s OK ERROR PIN Last...

Page 154: ...s Command ATS5 is dummy and has no effect on module behavior Read command will return value written by user or default value n 8 Write command will return OK or ERROR OK when parameter n is in range ERROR otherwise Despite OK returned in case of any parameter from range no changes will be made Parameter is volatile Read Command ATS5 Response s n OK Write Command ATS5 n Response s OK ERROR PIN Last...

Page 155: ...hared Keys certificate ID of PSK certificate Write Command If type ciphersuites Read default values of TLS Cipher Suites for embedded IP stack AT SBNR ciphersuites default Response s default ciphers string OK ERROR CME ERROR err Write Command If type ciphersuites Read current TLS Cipher Suites for embedded IP stack AT SBNR ciphersuites current Response s current ciphers string OK ERROR CME ERROR e...

Page 156: ...TC_V01 000 19 02 11 Page 156 of 189 Key of PSK certificate The key is masked as asterisks Note Only the following ciphering suit is supported TLS_PSK_WITH_AES_128_CBC_SHA256 Thus the type ciphersuites default value and current value are the same pskKey str ...

Page 157: ...re Command Block Transfer mode Write Command Certificate management for secure connection of client IP services AT SBNW type subType Response s CONNECT SECURE CMD READY SEND COMMAND Indicates that UE has entered binary data mode Secure command data can be transferred When secure command data is processed the UE will send one of following answers SECURE CMD LENGTH ERROR SECURE CMD ERROR SECURE CMD ...

Page 158: ...ta mode and return to AT command mode This allows to enter AT commands while maintaining the data connection to the remote device The same task can be performed by toggling the DTR line if AT D is set to 1 To prevent the character sequence from being misinterpreted as data it must be preceded and followed by a pause of 1000 ms The characters must be entered in quick succession all within 1000 ms S...

Page 159: ... Show validation result of the last firmware package update 3 Show firmware package s name 4 Show firmware package s version 5 Start the firmware update process An integer value indicating the sequence number of firmware patch segment It starts with 0 and increments by 1 for each package segment This parameter is required only for Command 1 This parameter is the segment length in bytes The length ...

Page 160: ...AT Command Set 11 7 AT SNFWPUPDS ENS22 E_ATC_V01 000 19 02 11 Page 160 of 189 This parameter is xor8 of each byte in every package segment It is sent as a hex format This parameter is required only for Command 1 CRC str ...

Page 161: ...digits of the year followed by month day hour minutes seconds and time zone For example 6th of July 2016 22 10 00 GMT 2 hours equals to 16 07 06 22 10 00 08 Time zone tz is given as a positive east or negative west offset from UTC in units of 15 minutes Format is yy mm dd hh mm ss zz or yy mm dd hh mm ss zz Notes The time will be reset to its factory default upon power down via AT SMSO power reset...

Page 162: ...rence points of BATT and GND For details on the reference points please refer to the Hardware Interface Description 2 If the measured average voltage drops below or rises above the given voltage thresholds the UE will report alert messages by sending the SBC URCs listed in Sec tion 1 7 1 Common URCs Syntax Parameter Description Supply or battery voltage in mV Test Command AT SBV Response s OK ERRO...

Page 163: ...tation URCs indicating alert level 1 is intended to enable the user to take precautions such as protect the Cinterion ENS22 E from exposure to extreme conditions or save or back up data etc The presentation of level 1 or 0 URCs depends on UrcMode Level 2 or 2 URCs are followed by immediate shutdown The presentation of these URCs is always enabled i e they will be output even though UrcMode equals ...

Page 164: ...mperature alert limit 0 Normal operating temperature 2 Above uppermost temperature limit causes immediate switch off 0 P Suppress output of temp in read command 1 Output temp in read command Board temperature in Celsius Is comprised between the lowest temperature warning level and the uppermost temperature warning level Examples EXAMPLE 1 URCs issued when the operating temperature is out of range ...

Page 165: ...given in hexadecimal format 0 9 A F without 0x For details on data mode please refer to Section 12 4 2 Transmitting Data over AT Interface Syntax Parameter Description Parameter returned by the AT SSPI read command Indicates whether or not the I C or SPI channel is used When the channel is open and the ME is in data mode the read command can only be used if one of the remaining interfaces is avail...

Page 166: ...nterface type D15 D12 0 1 I C bus default SPI device Port D11 D8 0 Internal port Data transfer rate D7 D4 0 1 0 1 2 3 I C at 100 kbps default I C at 400 kbps not supported SPI at 100 kbps SPI at 200 kbps SPI at 400 kbps SPI at 800 kbps Protocol D3 D0 0 ASCII hex coding wordLength num extendedSpiConfiguration num Subparameter Bit Hexadecimal Selected function SPI mode D15 D12 0 Only support SPI mod...

Page 167: ...2 E_ATC_V01 000 19 02 11 Page 167 of 189 12 4 1 Selecting SPI Mode The figure shows the four types of SPI mode selectable by setting the appropriate hexadecimal value within the parameter extendedSpiConfiguration Figure 12 1 SPI modes selectable on SPI ...

Page 168: ... channel All valid special characters are listed below Table 12 1 Special characters for ASCII coding Direction AT Driver Function in protocol Special character Hex value Description Start Transfer Message 0x3C Special character sent to the I C SPI driver to start sending Stop Transfer Message 0x3E Special character sent to the I C SPI driver to stop sending Channel Close 0x23 For signalling Chann...

Page 169: ...r The Message ID serves the user to dis tinguish between different messages It is only relevant on protocol level between AT interface and I C device driver i e it is not sent to the I C slave device Each transfer to the device is followed by a Response Message sent from the driver to the AT interface The response includes the Message ID and either OK or error characters or A successful response t...

Page 170: ...ng from If the Read Offset is zero then reading starts from the first byte The Read Length specifies the number of expected bytes If the Read Offset is zero and the Read Length does not equal zero the master reads the specified number of bytes starting from the first byte If the Read Length is zero the Read Offset is ignored meaning that the master will not read data from the slave To transmit dat...

Page 171: ...ess Not Acknowledge During a Transmit Transfer a NAK is given when the I C Slave Device notifies a failure to receive either the I C Slave Address or a data byte In this case a Stop Condition is sent to the I C device During a Receive Transfer a NAK is transmitted only when the I C does not receive any reponse for the I C Slave Address The I C device never acknowledges the validity of the received...

Page 172: ...ite request is greater than 128 Bytes 0x0080 AT SSPI 0000 0000 0000 The first group of characters forms the basicCon figuration where the first 0 sets I C the sec ond 0 is the internal port the digit 0 sets 100 kbps bit rate on the I C bus and the next 0 selects ASCII coding Note If omitted all above parameters are assumed by default Therefore instead of AT SSPI 0000 0000 0000 it is sufficient to ...

Page 173: ...mission successful 1 00 0010 03 00 Transfer Message The master requests to read 16 bytes from the slave Read Offset is zero therefore reading starts from the first byte 1 FF FF 11 22 33 78 99 99 99 CC CC CC CA AA AB BB Response Message Reading data successful 2 02 0008 03 00 Transfer Message The master requests to read 8 bytes from the slave Read Offset is 2 therefore reading starts from the third...

Page 174: ...PIO pins 13 1 AT SPIO GPIO Driver Open Close AT SPIO write command opens and closes the General Purpose I O GPIO driver The command must be exe cuted before any GPIO related command can be used The command does not reserve any GPIO lines only the driver required for their management will be started Syntax Parameter Description 0 Close General purpose I O driver 1 Open General purpose I O driver Te...

Page 175: ... 2 1 GPIO Configuration Table and following AT commands AT SSPI Syntax Parameter Description 0 Close GPIO line 1 Open GPIO line Pin identifier 0 GPIO1 1 GPIO2 2 GPIO3 3 GPIO4 4 GPIO5 7 GPIO8 8 GPIO9 9 GPIO10 15 GPIO16 16 GPIO17 17 GPIO18 18 GPIO19 23 GPIO24 Test Command AT SCPIN Response s SCPIN list of supported mode s list of supported pin_id s list of supported direction s list of supported sta...

Page 176: ...ared with other interfaces such as ASC1 SPI Serial Peripheral Interface and a status LED The following table shows the configuration variants All variants are mutually exclusive i e a line config ured for GPIO usage is locked for alternative use and vice versa direction num startValue num GPIO Pin GPIO Handler Status LED ASC0 ASC1 SPI I2C GPIO1 yes no yes no no no GPIO2 yes no yes no no no GPIO3 y...

Page 177: ...a Specified Pin Syntax Parameter Description This is an already configured pin_id see AT SCPIN State read on this io_id 0 Low for pin_id 1 High for pin_id Test Command AT SGIO Response s SGIO list of supported io_id s OK Write Command AT SGIO io_id Response s SGIO value OK ERROR CME ERROR err PIN Last io_id num value num ...

Page 178: ...n Syntax Parameter Description This is an already configured pin_id see AT SCPIN State to be set for this io_id 0 Low for pin_id 1 High for pin_id Test Command AT SSIO Response s SSIO list of supported io_id s list of supported value s OK Write Command AT SSIO io_id value Response s OK ERROR CME ERROR err PIN Last io_id num value num ...

Page 179: ...rst time Reading starts after successful SIM authentication has been performed and may take up to 30 seconds depend ing on the SIM used While the read process is in progress an attempt to use any of the following commands will result in CME Error 14 SIM busy ø AT Command not available AT command accessible immediately after PIN entry has returned OK AT command fully accessible after SIM PIN authen...

Page 180: ...N1 Table 14 1 Available AT Commands and Dependency on SIM PIN AT Command Exec Test Read Write Configuration Commands AT F ø ø ø AT V ø ø ø AT W ø ø ø ATQ ø ø ø ATV ø ø ø ATZ ø ø ø AT CFUN ø AT SMSO ø ø AT CMEE ø AT CSCS ø AT SCFG ø AT SPOW ø Serial Interface Control Commands AT Q ø ø ø AT C ø ø ø AT D ø ø ø AT S ø ø ø ATE ø ø ø AT ICF ø AT IPR ø Identification Commands ATI ø ø ø AT CGMI ø ø AT CGM...

Page 181: ...S ø AT CEDRXRDP ø ø AT SNLWM2M ø ø AT CIPCA ø Internet Service Commands AT SICS ø AT SICI ø AT SIPS ø ø AT SISS ø AT SISI ø AT SISO ø AT SISC ø ø AT SISR ø ø AT SISW ø ø AT SIST ø ø AT SISX ø ø AT SISE ø ø Packet Domain Related Commands AT CGACT ø AT CGATT ø AT CGAUTH ø AT CGDCONT ø AT CEREG ø AT CGPADDR ø AT CSODCP ø ø AT CRTDCP ø Short Message Service SMS Commands AT CMGC ø ø AT CMGS ø ø AT CNMA...

Page 182: ... CSMS ø U SIM related Commands AT CCID ø Miscellaneous Commands ATS3 ø ø ATS4 ø ø ATS5 ø ø AT SBNR ø ø ø AT SBNW ø ø ø ø ø ø AT SNFWPUPDS ø ø Hardware related Commands AT CCLK ø AT SBV ø ø AT SCTM ø AT SSPI ø General Purpose I O GPIO Pin related Commands AT SPIO ø ø AT SCPIN ø ø AT SGIO ø ø AT SSIO ø ø AT Command Exec Test Read Write ...

Page 183: ...ser Profile on ASC0 AT Command Stored Parameters Configuration Commands ATQ n ATV value AT CMEE errMode AT CSCS chset Serial Interface Control Commands AT Q n AT C value AT D value AT S value ATE value AT ICF format parity Network Service Commands AT COPS format Packet Domain Related Commands AT CEREG n Short Message Service SMS Commands AT CSMS service Miscellaneous Commands ATS3 n ATS4 n ATS5 n ...

Page 184: ... Restorable with AT F AT Command Factory Defaults Configuration Commands ATQ n 0 ATV value 1 AT CMEE errMode 0 AT CSCS chset GSM Serial Interface Control Commands AT Q n 3 AT C value 1 AT D value 2 AT S value 0 ATE value 1 Network Service Commands AT COPS format 0 Packet Domain Related Commands AT CEREG n 0 Short Message Service SMS Commands AT CSMS service 0 Miscellaneous Commands ATS3 n 013 ATS4...

Page 185: ...CTZE tz dst time AT CTZR CTZEU tz dst utime AT CEDRXS CEDRXP AcT type Requested_eDRX_value NW_provided_eDRX_value Paging_time_window AT SNLWM2M SNLWM2M srv dft srv id srv status status parameter AT SNLWM2M SNLWM2M procedure dft srv id procedure procedure status indication text Internet Service Commands AT SISR SISR srvProfileId urcCauseId AT SISW SISW srvProfileId urcCauseId Internet Ser vice URC ...

Page 186: ...5 Summary of Unsolicited Result Codes URC ENS22 E_ATC_V01 000 19 02 11 Page 186 of 189 Short Message Service SMS Commands AT CNMA CMT alpha length CR LF pdu Hardware related Commands AT SCTM SCTM_B UrcCause AT SCTM SHUTDOWN AT Command URC ...

Page 187: ...detach Section 8 2 page 130 AT CGAUTH Define PDP Context Authentication Parameters Section 8 3 page 131 AT CGDCONT Define PDP Context Section 8 4 page 133 AT CGMI Request manufacturer identification Section 4 2 page 59 AT CGMM Request model identification Section 4 3 page 60 AT CGMR Request revision identification and software version Section 4 4 page 61 AT CGPADDR Show PDP Address Section 8 6 pag...

Page 188: ...ice Open Section 7 6 page 107 AT SISR Internet Service Read Data Section 7 8 page 111 AT SISS Internet Service Setup Profile Section 7 4 page 102 AT SIST Enter Transparent Mode Section 7 10 page 116 AT SISW Internet Service Write Data Section 7 9 page 114 AT SISX Internet Service Execution Section 7 11 page 118 AT SMONI Monitoring Serving Cell Section 6 6 page 79 AT SMONP Monitoring Neighbour Cell...

Page 189: ...entity modules security solutions and licensing and monetization solutions to streamline development timelines and provide cost efficiencies that improve the bottom line As an experienced software provider we help customers manage connectivity security and quality of service for the long lifecycle of IoT solutions For more information please visit www gemalto com m2m www facebook com gemalto or Fo...

Reviews: