nrf91 at Commands v1.0
nrf91 at Commands v1.0
1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 AT command syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Set command <CMD>[=...] . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Read command <CMD>? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Test command <CMD>=? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 Request manufacturer identification +CGMI . . . . . . . . . . . . . . . . . . . . . 9
3.2 Request model identification +CGMM . . . . . . . . . . . . . . . . . . . . . . . . 9
3.3 Request revision identification +CGMR . . . . . . . . . . . . . . . . . . . . . . . 10
3.4 Request product serial number identification +CGSN . . . . . . . . . . . . . . . . . 11
3.5 Request IMSI +CIMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4418_963 v1.0 ii
5 SiP pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.1 COEX0 pin control configuration %XCOEX0 . . . . . . . . . . . . . . . . . . . . . 56
5.2 MAGPIO configuration %XMAGPIO . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.3 SiP-external MIPIRFFE device introduction %XMIPIRFFEDEV . . . . . . . . . . . . . . . 60
5.4 SiP-external MIPIRFFE device control configuration %XMIPIRFFECTRL . . . . . . . . . . . 62
4418_963 v1.0 iv
Revision history
Date Version Description
June 2019 1.0 First release
4418_963 v1.0 v
1 Introduction
This document describes the AT commands used to control the modem in nRF91 Series devices. The
nRF91 series AT command API enables modem control for firmware running in the application core on
nRF91 series devices.
The AT command API can also be exposed on one of the nRF91 serial interfaces by programming
appropriate firmware in the application core. The nRF Connect SDK contains examples of such proxy
firmware that can be run stand-alone or as part of other firmware functionality in the nRF91 application
core. The stand-alone example is called at_client. This way, an external MCU or computer can get access to
the modem API either exclusively or in addition to application firmware running on the nRF91 itself.
4418_963 v1.0 6
2 AT command syntax
The AT Commands have standardized syntax rules.
Words enclosed in <angle brackets> are references to syntactical elements. Words enclosed in [square
brackets] represent optional items which may be left out from the command line at the specified point.
The brackets are not used when the words appear in the command line.
<CR>, <LF>, and terminating NUL are allowed in an AT command sent by an application, but are not
mandatory when using an interface where both the command string and length of command string are
provided.
All standard AT commands for controlling a phone or a modem, or managing the SMS feature begin with a
plus sign (+), whereas Nordic-proprietary commands begin with a percent sign (%).
A string type parameter input should be enclosed between quotation marks ("").
For more information, see 3GPP 27.007 AT command set for User Equipment (UE) and 3GPP 27.005 Use
of Data Terminal Equipment - Data Circuit terminating Equipment (DTE - DCE) interface for Short Message
Service (SMS) and Cell Broadcast Service (CBS).
AT+CMD=1
where
• AT is the command line prefix
• + is the prefix for extended commands
• CMD is the body of a basic command
• 1 is a subparameter (multiple subparameters are separated by commas)
AT+CMD?
where
• AT is the command line prefix
• + is the prefix for extended commands
• CMD is the body of a basic command
• ? represents a read command
4418_963 v1.0 7
AT command syntax
AT+CMD=?
where
• AT is the command line prefix
• + is the prefix for extended commands
• CMD is the body of a basic command
• =? represents a test command for checking possible subparameter values
2.4 Response
AT responds to all commands with a final response.
The response is one of the following:
OK<CR><LF>
ERROR<CR><LF>
+CME ERROR: <cause_value><CR><LF>
+CMS ERROR: <cause_value><CR><LF>
"CMS ERROR:" is used as an error response for SMS related commands specified in 3GPP 27.005.
Some commands may also produce a varying number of information response lines before the final
response. An information response can be received only when a command-specific response syntax is
specified. An information response line usually starts with a prefix, which is the command entered:
+CMD: [...]<CR><LF>
Some commands may also produce notifications, which do not start with the command prefix:
AT+CGSN
490154203237518
OK
4418_963 v1.0 8
3 General
The general commands are for the identification of the device.
For reference, see 3GPP 27.007 Ch. 5.
+CGMI
Response syntax:
<manufacturer>
AT+CGMI
manufacturer name
OK
+CGMM
4418_963 v1.0 9
General
Response syntax:
<model>
AT+CGMM
Model identifier
OK
+CGMR
Response syntax:
<revision>
AT+CGMR
revision identification
OK
4418_963 v1.0 10
General
+CGSN[=<snt>]
The set command parameters and their defined values are the following:
<snt>
0 – Respond with <sn> (default)
1 – Respond with +CGSN: <imei>
2 – Respond with +CGSN: <imeisv>
3 – Respond with +CGSN: <svn>
<sn>
Information text determined by the manufacturer. Up to 2048 characters. Electronic
Serial Number (ESN) returned if available. International Mobile (Station) Equipment
Identity (IMEI) returned if ESN not available.
<imei>
A string in decimal format indicating the IMEI. Composed of Type Allocation Code
(TAC) (8 digits), Serial Number (SNR) (6 digits), and Check Digit (CD) (1 digit).
<imeisv>
A string in decimal format indicating the International Mobile (Station) Equipment
Identity, Software Version (IMEISV). The 16 digits of IMEISV are composed of TAC (8
digits), SNR (6 digits), and Software Version Number (SVN) (2 digits).
<svn>
A string in decimal format indicating the current SVN which is part of IMEISV.
Response syntax when <snt>=0 (or omitted):
<sn>
+CGSN: <string>
AT+CGSN
490154203237518
OK
4418_963 v1.0 11
General
AT+CGSN=1
+CGSN: "490154203237518"
OK
The test command parameter and its defined values are the following:
<snt>
0 – Respond with <sn> (default)
1 – Respond with +CGSN: <imei>
2 – Respond with +CGSN: <imeisv>
3 – Respond with +CGSN: <svn>
Example:
AT+CGSN=?
+CGSN: (0-3)
OK
+CIMI
Response syntax:
<IMSI>
<IMSI>
IMSI, a string without double quotes
4418_963 v1.0 12
General
AT+CIMI
284011234567890
OK
4418_963 v1.0 13
Mobile termination control and
4 status commands
Mobile termination control and status commands are used for mobile-terminated power and indicator
handling. Two commands are listed for accessing SIM/Universal Integrated Circuit Card (UICC) database
records.
+CFUN=<fun>
The set command parameters and their defined values are the following:
<fun>
0 – Power off
1 – Normal mode
4 – Offline mode
44 – Offline mode without shutting down UICC
Note:
• The response to changing to Normal mode could be ERROR if the SIM card has failed.
• Commanding the device to Power off or to Offline mode might take some time if signaling with
the network is needed.
• When commanding the device to power off, wait for OK to make sure that Non-volatile Memory
(NVM) has been updated.
AT+CFUN=1
OK
4418_963 v1.0 14
Mobile termination control and status commands
Response syntax:
+CFUN: <fun>
The read response parameter and its defined value is the following:
<fun>
0 – Power off
1 – Normal mode
4 – Flight mode
The following command example reads the current functional mode:
AT+CFUN?
+CFUN: 1
OK
The response parameters and their defined values are the following:
<fun>
0 – Power off
1 – Normal mode
4 – Offline mode
44 – Offline mode without shutting down UICC
The following command example returns the supported functional modes.
AT+CFUN=?
+CFUN: (0,1,4,44)
OK
+CPIN=<pin>[,<newpin>]
The set command parameters and their defined values are the following:
4418_963 v1.0 15
Mobile termination control and status commands
<pin>
String of digits.
<newpin>
String of digits. Mandatory if the required code is SIM Personal Unblocking Key
(PUK) or SIM PUK2.
AT+CPIN="1234"
OK
+CPIN: <code>
The read command parameter and its defined values are the following:
<code>
READY – no PIN required
SIM PIN – PIN code required
SIM PUK – PUK code required
SIM PIN2 – PIN2 code required
SIM PUK2 – PUK2 code required
The following command example shows how to check if a PIN code is needed with the response that a PIN
code is required:
AT+CPIN?
+CPIN: "SIM PIN"
OK
4418_963 v1.0 16
Mobile termination control and status commands
Command syntax:
+CPINR=<sel_code>
+CPINR: <code>,<retries>
<sel_code>, <code>
SIM PIN
SIM PIN2
SIM PUK
SIM PUK2
Wildcard not supported.
<retries>
Integer. Number of remaining retries.
The following command example checks the remaining entries for PIN:
AT+CPINR="SIM PIN"
+CPINR: "SIM PIN",3
OK
+CLAC
Response syntax:
4418_963 v1.0 17
Mobile termination control and status commands
AT+CLAC
AT+CFUN
AT+COPS
...
OK
+CESQ
Response syntax:
+CESQ: <rxlev>,<ber>,<rscp>,<ecno>,<rsrq>,<rsrp>
The set command parameters and their defined values are the following:
<rxlev>
99 – Not known or not detectable
<ber>
99 – Not known or not detectable
<rscp>
255 – Not known or not detectable
<ecno>
255 – Not known or not detectable
<rsrq>
255 – Not known or not detectable
4418_963 v1.0 18
Mobile termination control and status commands
<rsrp>
0 – RSRP < −140 dBm
1 – When −140 dBm ≤ RSRP < −139 dBm
2 – When −139 dBm ≤ RSRP < −138 dBm
...
95 – When −46 dBm ≤ RSRP < −45 dBm
96 – When −45 dBm ≤ RSRP < −44 dBm
97 – When −44 dBm ≤ RSRP
255 – Not known or not detectable
The following command example reads the current signal quality, mapped Reference Signal Received
Power (RSRP) 62:
AT+CESQ
+CESQ: 99,99,255,255,255,62
OK
AT+CESQ=?
+CESQ: (99),(99),(255),(255),(255),(0-97,255)
OK
%CESQ=<n>
4418_963 v1.0 19
Mobile termination control and status commands
Notification syntax:
%CESQ: <rsrp>,<threshold_index>
The command parameters and their defined values are the following:
<n>
0 – Unsubscribe signal quality notifications
1 – Subscribe signal quality notifications
<rsrp>
0 – RSRP < −140 dBm
1 – When −140 dBm ≤ RSRP < −139 dBm
2 – When −139 dBm ≤ RSRP < −138 dBm
...
95 – When −46 dBm ≤ RSRP < −45 dBm
96 – When −45 dBm ≤ RSRP < −44 dBm
97 – When −44 dBm ≤ RSRP
255 – Not known or not detectable
<threshold_index>
Index of RSRP threshold which is below measured RSRP value.
0 – RSRP is below the first threshold
1 – RSRP is between the first and second threshold
2 – RSPR is between the second and third threshold
3 – RSRP is between the third and fourth threshold
4 – RSRP is above the fourth threshold
With default thresholds 20, 40, 60, and 80, the measured value 70 leads to index 3.
The following command example subscribes E-UTRA signal quality notifications:
AT%CESQ=1
OK
The example notification indicates a change in the measured average RSRP. The average RSRP is 62 and
mapped to threshold 3.
%CESQ: 62,3
4418_963 v1.0 20
Mobile termination control and status commands
%XSNRSQ=<n>
Notification syntax:
%XSNRSQ: <snr>,<threshold_index>
<n>
0 – Unsubscribe SNR signal quality notifications
1 – Subscribe SNR signal quality notifications
<snr>
0 – SNR < −24 dB
1 – When −24 dB ≤ SNR < −23 dB
2 – When −23 dB ≤ SNR < −22 dB
...
47 – When 22 dB ≤ SNR < 23 dB
48 – When 23 dB ≤ SNR < 24 dB
49 – When 24 dB ≤ SNR
<threshold_index>
The index of the SNR threshold which is below the measured SNR value.
0 – SNR is below the first threshold.
1 – SNR is between the first and second threshold.
2 – SNR is between the second and third threshold.
3 – SNR is between the third and fourth threshold.
4 – SNR is above the fourth threshold.
With default thresholds 16, 24, 32, and 40, the measured value 35 leads to index 3.
The following command example subscribes E-UTRA signal quality notifications:
AT%XSNRSQ=1
OK
4418_963 v1.0 21
Mobile termination control and status commands
The example notification indicates that the measured average SNR has changed to 39 and is mapped to
threshold 3:
AT%XSNRSQ: 39,3
OK
%XSNRSQ: <snr>
The read command parameter and its defined values are the following:
<snr>
0 – SNR < −24 dB
1 – When −24 dB ≤ SNR < −23 dB
2 – When −23 ≤ SNR < −22 dB
...
47 – When 22 ≤ SNR < 23 dB
48 – When 23 ≤ SNR < 24 dB
49– When 24 ≤ SNR
The following command example reads SNR signal quality:
AT%XSNRSQ?
%XSNRSQ: 39
OK
+CRSM=<command>[,<fileid>[,<P1>,<P2>,<P3>[,<data>[,<pathid>]]]]
Response syntax:
+CRSM: <sw1>,<sw2>[,<response>]
The set command parameters and their defined values are the following:
4418_963 v1.0 22
Mobile termination control and status commands
<command>
Integer.
176 – READ BINARY
178 – READ RECORD
192 – GET RESPONSE
214 – UPDATE BINARY
220 – UPDATE RECORD
242 – STATUS
203 – RETRIEVE DATA
219 – SET DATA
<fileid>
Integer type. Identifier of an elementary data file on SIM. Mandatory for every
command except STATUS. The range of valid file identifiers depends on the actual
SIM and is defined in 3GPP TS 51.011. Optional files may not be present at all.
<data>
String in hexadecimal format. Information that shall be written to the SIM.
<pathid>
String type. Contains the path of an elementary file on the SIM/UICC in hexadecimal
format (e.g. "7F205F70" in SIM and UICC case). The <pathid> shall only be used in
the mode "select by path from MF" as defined in ETSI TS 102 221.
<sw1>, <sw2>
Integer type. Information from the SIM about command execution. These
parameters are delivered to the Terminal Equipment (TE) in both cases, on
successful or failed command execution.
<response>
String in hexadecimal format. Issued once a command is successfully completed.
STATUS and GET RESPONSE return data which provides information about the
current elementary data field. This information includes file type and size (see
3GPP TS 51.011). After READ BINARY, READ RECORD, or RETRIEVE DATA command,
the requested data will be returned. <response> is not returned after a successful
UPDATE BINARY, UPDATE RECORD, or SET DATA command.
The following command example reads the forbidden Public Land Mobile Network (PLMN) list:
AT+CRSM=176,28539,0,0,12
+CRSM: 144,0,"64F01064F040FFFFFFFFFFFF"
OK
4418_963 v1.0 23
Mobile termination control and status commands
+CSIM=<length>,<command>
Response syntax:
+CSIM: <length>,<response>
The set command parameters and their defined values are the following:
<length>
Integer. The length of hexadecimal characters.
<command>
The command passed to the SIM in hexadecimal format. Two characters per byte.
<response>
The response from the SIM in hexadecimal format. Two characters per byte.
The following command example runs a GSM algorithm:
AT+CSIM=14,"A0A40000027F20"
+CSIM: 48,"000010247F20020000000000091100160800838A838A9000"
OK
4418_963 v1.0 24
Mobile termination control and status commands
+CPAS
Response syntax:
+CPAS: <pas>
<pas>
Activity status.
0 – Ready (MT allows commands from Terminal Adapter (TA)/TE)
The following command example checks the activity status:
AT+CPAS
+CPAS: 0
OK
+CIND=[<ind>[,<ind>[,...]]]
Response syntax:
+CIND: <descr>,<value>
The set command parameters and their defined values are the following:
4418_963 v1.0 25
Mobile termination control and status commands
<ind>
Integer. 0 – Off.
Other values are <descr>-specific.
"service": 1 – On
"roam": 1 - On
"message": 1 - On
<descr>
"service" – Service availability
"roam" – Roaming indicator
"message" – Message received
<value>
Integer. Values are <descr>-specific.
"service": 0 - Not registered, 1 - Registered
"roam": 0 - Not roaming, 1 - Roaming
"message": 1 - Message received
The example enables service and message indicators:
AT+CIND=1,0,1
OK
+CIND: "service",1
+CIND: <ind>[,<ind>[,...]]
<ind>
Integer. 0 – Off.
Other values are <descr>-specific.
"service": 1 – On
"roam": 1 - On
"message": 1 - On
<descr>
"service" – Service availability
"roam" – Roaming indicator
"message" – Message received
4418_963 v1.0 26
Mobile termination control and status commands
Example:
AT+CIND?
+CIND: 1,0,1
OK
The test command parameters and their defined values are the following:
<ind>
Integer. 0 – Off.
Other values are <descr>-specific.
"service": 1 – On
"roam": 1 - On
"message": 1 - On
<descr>
"service" – Service availability
"roam" – Roaming indicator
"message" – Message received
Example:
AT+CIND=?
+CIND: ("service",(0,1)),("roam",(0,1)),("message",(0,1))
OK
+CGPIAF:
<IPv6_AddressFormat>,<IPv6_SubnetNotation>,<IPv6_LeadingZeros>,<IPv6_CompressZeros>
The read command parameters and their defined values are the following:
4418_963 v1.0 27
Mobile termination control and status commands
<IPv6_AddressFormat>
1 – Use IPv6-like colon notation
<IPv6_SubnetNotation>
1 – Use / (forward slash) subnet prefix Classless Inter-domain Routing (CIDR)
notation
<IPv6_LeadingZeros>
1 – Leading zeros are included
<IPv6_CompressZeros>
0 – No zero compression
The following command example reads the current IPv6 address format:
AT+CGPIAF?
+CGPIAF: 1,1,1,0
OK
The read command parameters and their defined values are the following:
<IPv6_AddressFormat>
1 – Use IPv6-like colon notation
<IPv6_SubnetNotation>
1 – Use / (forward slash) subnet prefix CIDR notation
<IPv6_LeadingZeros>
1 – Leading zeros are included
<IPv6_CompressZeros>
0 – No zero compression
The following command example reads the current IPv6 address format:
AT+CGPIAF=?
+CGPIAF: (1),(1),(1),(0)
OK
4418_963 v1.0 28
Mobile termination control and status commands
%XCBAND
Response syntax:
%XCBAND: <band>
The set command parameter and its defined values are the following:
<band>
Integer, range 1–71. See 3GPP 36.101.
0 when current band information not available
The following command example reads the current band:
AT%XCBAND
%XCBAND: 13
OK
AT%XCBAND=?
%XCBAND: (1,2,3,4,12,13)
OK
4418_963 v1.0 29
Mobile termination control and status commands
Note: Neighboring cell measurements are only valid and available when neighbors are monitored,
i.e. current cell quality is low enough.
Syntax:
%NBRGRSRP
Response syntax:
%NBRGRSRP: <phys_cellID>1,<EARFCN>1,<RSRP>1,<phys_cellID>2,
<EARFCN>2,<RSRP>2,<phys_cellID>n, <EARFCN>n,<RSRP>n
The set command parameters and their defined values are the following:
<phys_cellID>
Integer. Physical cell ID.
<EARFCN>
Integer. EARFCN for a given cell where EARFCN is according to 3GPP TS 36.101.
<rsrp>
0 – RSRP < −140 dBm
1 – When −140 dBm ≤ RSRP < −139 dBm
2 – When −139 dBm ≤ RSRP < −138 dBm
...
95 – When −46 dBm ≤ RSRP < −45 dBm
96 – When −45 dBm ≤ RSRP < −44 dBm
97 – When −44 dBm ≤ RSRP
255 – Not known or not detectable
4418_963 v1.0 30
Mobile termination control and status commands
Syntax:
+CEMODE=[<mode>]
The set command parameter and its defined values are the following:
<mode>
0 – PS mode 2 of operation
2 – CS/PS mode 2 of operation
The following command example sets the operating mode to PS mode 2:
AT+CEMODE=0
OK
+CEMODE: <mode>
The read command parameter and its defined values are the following:
<mode>
0 – PS mode 2 of operation
2 – CS/PS mode 2 of operation
The following command example reads the current operating mode:
+CEMODE: 0
OK
The test command parameter and its defined values are the following:
<mode>
0 – PS mode 2 of operation
2 – CS/PS mode 2 of operation
Example:
+CEMODE: (0,2)
OK
4418_963 v1.0 31
Mobile termination control and status commands
%XSIM=<n>
Notification syntax:
%XSIM: <state>
The set command parameters and their defined values are the following:
<n>
0 – Unsubscribe XSIM notifications
1 – Subscribe XSIM notifications
<state>
0 – UICC not initialized
1 – UICC initialization OK
The following command example subscribes UICC state notifications:
AT%XSIM=1
OK
%XSIM: 1
%XSIM: <state>
The read command parameter and its defined values are the following:
<state>
0 – UICC not initialized
1 – UICC initialization OK
The following command example reads the UICC state:
AT%XSIM?
%XSIM: 1
OK
4418_963 v1.0 32
Mobile termination control and status commands
Note: This command is for future releases. In the current software release, the use of this
command is not required.
For information on the usage of the command, see Authenticating AT command usage on page 123.
%XSUDO=<data_len>,<signature>[,<sec_tag>]
<data_len>
Length of a signed command string.
Only the number of characters in <data_len> from an authenticated command is
processed, the rest are ignored. <data_len> shall not be greater than the given
command.
<signature>
Command signature in Base64 format
<sec_tag>
A secure tag for multiple public keys. Integer, 0–2147483647. Optional.
The following command example provides authenticated access for the restricted %CMNG command:
AT%XSUDO=15,"c2lnbmF0dXJl";AT%CMNG=3,123,1
OK
4418_963 v1.0 33
Mobile termination control and status commands
%XPMNG=<opcode>[,<content>[,<sec_tag>]]
Response syntax:
%XPMNG: <content>
<opcode>
0 – Write
2 – Read
<content>
String. Mandatory if parameter opcode is 'Write'. An empty string is not allowed.
Parameter content is enclosed in double quotes. ASN.1 DER encoding in Base64
encoded with the header and footer of begin key and end key.
<sec_tag>
A secure tag for multiple public keys. Integer, 0–2147483647. Optional.
The following command example writes the public key:
AT%XPMNG=2
%XPMNG: "-----BEGIN PUBLIC KEY-----...-----END PUBLIC KEY-----"
OK
4418_963 v1.0 34
Mobile termination control and status commands
%XRFTEST=<test>,<operation>,<param0>,<param1>,…,<param7>
The set command parameters and their defined values are the following:
<test>
0 – RX
1 – TX
2 – GPS SNR
3 – RX SNR
<operation>
0 – OFF
1 – ON
<paramX>
One or more int16 values. The usage and number of parameters depends on <test>
and <operation>. See the following sections.
4.19.1.1 RX testing
The command enables RF receiver with the given parameters. It also measures antenna power with a time
domain power meter and returns the measurement result.
The command parameter and its value are the following:
<test>
0 – RX
RX ON
<operation>
1 – ON
RX ON has a total of four parameters:
<param0>
3GPP band number.
<param1>
Frequency 100 kHz.
Valid range 6000–22000 (corresponds to 600.0 MHz–2200.0 MHz). Note that if CW
is used, an offset of about 45 kHz for NB1 and 300 kHz for M1 is recommended.
4418_963 v1.0 35
Mobile termination control and status commands
<param2>
RX signal power at antenna in dBm.
Valid range from −127 to −25.
<param3>
System mode.
Valid range 0–1. NB1 (0) or M1 (1).
Response syntax when <operation> is ON:
%XRFTEST: <antenna_power>
<antenna_power>
Measured power at antenna, in q8 dBm. q8 means that dividing the result by 28 =
256 gives dBm.
The following command example enables the RF receiver for Band 1, 2140.0 MHz, −65 dBm, NB1 mode:
%XRFTEST=0,1,1,21400,−65,0
%XRFTEST: -17002
OK
RX OFF
<operation>
0 – OFF
The following command example disables the RF receiver:
%XRFTEST=0,0
OK
Note: Always send the OFF command before sending another ON command.
4.19.1.2 TX testing
The command enables RF transmitter with the given parameters. It also measures TX power with an
internal measurement receiver in time domain, and returns the measurement result.
CAUTION: This command transmits power to the selected RF band and may violate the radio
directives of the region or country. Make sure that the equipment is in an RF-shielded room or
connected to an RF cable so that RF power will not leak.
<test>
1 – TX
4418_963 v1.0 36
Mobile termination control and status commands
TX ON
<operation>
1 – ON
TX ON has a total of seven parameters:
<param0>
3GPP band number.
<param1>
Frequency [100kHz].
Valid range 6000–22000 (corresponds to 600.0 MHz–2200.0 MHz).
<param2>
TX signal power at antenna [dBm].
Valid range from +23 to −50.
<param3>
System mode.
Valid range 0–1. NB1 (0) or M1 (1).
<param4>
Modulation.
0 – QPSK
1 – 16QAM
2 – Reserved
3 – BPSK
4 – CW
M1: QPSK, 16QAM, and CW
NB1: QPSK, BPSK, and CW
4418_963 v1.0 37
Mobile termination control and status commands
System mode <param3> RB/Tone count RB/Tone start position Subcarrier spacing
<param5> <param6> <param7>
NB1 (0) 1 0–11 0
3 0, 3, 6, 9 0
6 0, 6 0
12 0 0
1 0–47 1
M1 (1) 1 0–5 0
2 0–4 0
3 0–3 0
4 0–2 0
5 0–1 0
6 0 0
Note: In system mode M1, subcarrier spacing 3.75 kHz is not allowed.
%XRFTEST: <antenna_power>
<antenna_power>
Internally measured TX power at antenna, in q4 dBm. q4 means that dividing the
result by 24 = 16 gives dBm.
The following command example enables the RF transmitter for Band 5, 830.0 MHz, +17 dBm, NB1, BPSK,
12 tones, tone start position 0, subcarrier spacing 15 kHz:
%XRFTEST=1,1,5,8300,17,0,3,12,0,0
%XRFTEST: 271
OK
TX OFF
<operation>
0 – OFF
The following command example disables the RF transmitter:
%XRFTEST=1,0
OK
4418_963 v1.0 38
Mobile termination control and status commands
Note: Always send the OFF command before sending another ON command.
<test>
2 – GPS SNR
GPS SNR
<operation>
1 – ON
<param0>
RX signal power at antenna in dBm
Valid range from −127 to −25 or 0 = default gain −105 dBm.
Response syntax when <operation> is ON:
%XRFTEST: <snr>,<antenna_power>
<snr>
The result of the SNR measurement in q4 dB. q4 means that dividing the result by
24 = 16 gives dB.
<antenna_power>
Measured power at antenna, in q8 dBm. q8 means that dividing the result by 28 =
256 gives dBm.
The following command example executes an GPS SNR test:
%XRFTEST=2,1,0
%XRFTEST: 514,-19968
OK
4418_963 v1.0 39
Mobile termination control and status commands
<test>
3 – RX SNR
<operation>
1 – ON
<param0>
3GPP band number.
<param1>
Frequency 100 kHz (,i.e. 2140 MHz is expressed as 21400).
<param2>
RX signal power at antenna in dBm.
Valid range from −127 to −25.
<param3>
System mode.
Valid range 0–1. NB1 (0) or M1 (1).
Response syntax when <operation> is ON:
%XRFTEST: <snr>,<antenna_power>
<snr>
Result of the SNR measurement in q4 dB. q4 means that dividing the result by 24 =
16 dB.
<antenna_power>
Measured power at antenna, in q8 dBm. q8 means divided dividing the result by 28
= 256 gives dBm.
The following command example enables the RX SNR measurement and RF receiver for Band 1, 2140.0
MHz, −65 dBm, NB1 mode:
%RFTEST=3,1,1,21400,-65,0
%XRFTEST: 496,-17002
OK
4418_963 v1.0 40
Mobile termination control and status commands
Note:
• Set band lock before activating modem with +CFUN.
• Permanent mask is written to flash when UE is powered down.
Syntax:
%XBANDLOCK=<operation>[,<band_mask>]
<operation>
0 – Remove band locks
1 – Set permanent band mask
2 – Set runtime band mask
<band_mask><permanent_lock><run-time_lock>
String. Bit string, LSB is band 1. Leading zeroes can be omitted. Maximum length 88
characters.
The following command example sets permanent band 4 lock:
AT%XBANDLOCK=1,"1000"
OK
AT%XBANDLOCK=2,"1000000001000"
OK
%XBANDLOCK: <permanent_lock>,<run-time_lock>
The read response parameter and its defined value is the following:
4418_963 v1.0 41
Mobile termination control and status commands
<permanent_lock>,<run-time_lock>
Bit string, 88 bits.
An empty string is returned if bandlock is not set.
The following command example reads the locked bands. No permanent lock, runtime lock for bands 13,
4, and 1:
AT%XBANDLOCK?
%XBANDLOCK:
"","0000000000000000000000000000000000000000000000000000000000000000000000000001000000001001"
OK
%XDATAPRFL=<power_level>
The set command parameters and their defined values are the following:
<power level>
0 – Ultra-low power
1 – Low power
2 – Normal
3 – Performance
4 – High performance
The following command example sets a low power level:
AT%XDATAPRFL=1
OK
%XDATAPRFL: <power_level>
The set command parameters and their defined values are the following:
4418_963 v1.0 42
Mobile termination control and status commands
<power level>
0 – Ultra-low power
1 – Low power
2 – Normal
3 – Performance
4 – High performance
The following command example reads the power level:
AT%XDATAPRFL?
AT%XDATAPRFL: 2
OK
%XCONNSTAT=<command>
The set command parameters and their defined values are the following:
<command>
0 – Stop
1 – Start
The following command example makes the LwM2M application start and stop connectivity statistics:
AT%XCONNSTAT=1
OK
AT%XCONNSTAT=0
OK
The read command parameters and their defined values are the following:
4418_963 v1.0 43
Mobile termination control and status commands
<SMS Tx>
Indicate the total number of SMSs successfully transmitted during the collection
period.
<SMS Rx>
Indicate the total number of SMSs successfully received during the collection
period.
<Data Tx>
Indicate the total amount of data (in kilobytes) transmitted during the collection
period.
<Data Rx>
Indicate the total amount of data (in kilobytes) received during the collection
period.
<Packet max>
The maximum packet size (in bytes) used during the collection period.
<Packet average>
The average packet size (in bytes) used during the collection period.
The following command example makes the LwM2M application read the connectivity statistics:
AT%XCONNSTAT?
%XCONNSTAT=2,3,45,60,708,650
OK
%XVBAT
Response syntax:
+XVBAT: <vbat>
<vbat>
Integer. Battery voltage in mV
4418_963 v1.0 44
Mobile termination control and status commands
The following command example reads the battery voltage and the response is for a successful case:
AT%XVBAT
%XVBAT: 3600
OK
%XPRODDONE=[<rf_test>]
The set command parameter and its defined values are the following:
<rf_test>
0 – Disable AT%XRFTEST
1 – Enable AT%XRFTEST
If the <rf_test> parameter is not set, AT%XRFTEST is disabled after this command is performed.
The following command example sets the customer production to done:
AT%XPRODDONE
OK
4418_963 v1.0 45
Mobile termination control and status commands
%CMNG=<opcode>[,<sec_tag>[,<type>[,<content>[,<passwd>]]]]
%CMNG: <sec_tag>,<type>[,<sha>[,<content>]]
%CMNG: <sec_tag>,<type>[,<sha>]
<sec_tag> <type> shall be a unique pair, no multiple items with the same <sec_tag> and <type> values are
allowed.
<opcode>
0 – Write
1 – List
2 – Read
3 – Delete
<sec_tag>
Integer, 0 – 2147483647.
Mandatory for write, read, and delete operations. Optional for list operation.
<type>
0 – Root CA certificate (ASCII text)
1 – Client certificate (ASCII text)
2 – Client private key (ASCII text)
3 – Pre-shared Key (PSK) (ASCII text in hexadecimal string format)
4 – PSK identity (ASCII text)
5 – Public Key (ASCII text)
Mandatory if <opcode> is write, read, or delete. Parameter <type> with the value
Public Key can only be used when parameter <opcode> is delete.
4418_963 v1.0 46
Mobile termination control and status commands
<content>
String. Mandatory if <opcode> is write. An empty string is not allowed. A Privacy
Enhanced Mail (PEM) file enclosed in double quotes (X.509 PEM entities). Base64-
encoded string in double quotes (PSK).
<passwd>
String. PKCS#8 password. Mandatory for writing a type 2 encrypted private key,
ignored for other types. Maximum length 32 characters.
<sha>
String. SHA-256 digest of the entity (DER, PEM) as stored in the filesystem, 64
hexadecimal characters (representing a 256 bit vector).
Note:
• <content> in the read response is exactly what is written, including <CR>, <LF>, and other
characters. The characters outside the double quotes are part of the AT response format.
• Reading types 1, 2, and 3 are not supported.
AT%CMNG=0,567890,1,"
-----BEGIN CERTIFICATE-----
MIIBc464...
...bW9aAa4
-----END CERTIFICATE-----”
OK
AT%CMNG=0,123,2,"
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIICz...
...ukBu
-----END ENCRYPTED PRIVATE KEY-----”, ”abcdefg”
OK
The following command example lists a single item by specifying tag and type:
AT%CMNG=1,12345678, 0
%CMNG: 12345678, 0, "978C...02C4"
OK
4418_963 v1.0 47
Mobile termination control and status commands
AT%CMNG=1,12345678
%CMNG: 12345678, 0, "978C...02C4"
%CMNG: 12345678, 1, "1A8C...02BB"
OK
AT%CMNG=1
%CMNG: 12345678, 0, "978C...02C4"
%CMNG: 567890, 1, "C485...CF09"
%CMNG: 123, 2, "92E1...8AC8"
%CMNG: 654321, 3, "E0C9...511D"
OK
The following command example reads the root certificate with tag 12345678:
AT%CMNG=2, 12345678, 0
%CMNG: 12345678, 0, "978C...02C4",
"-----BEGIN CERTIFICATE-----
MIIBc464...
...bW9aAa4
-----END CERTIFICATE-----"
OK
The following command example deletes a client certificate with tag 123:
AT%CMNG=3,123,1
OK
The following command example reads a non-existing root certificate with tag 4567. Error code 513 is
returned:
AT%CMNG=2,4567,0
+CME ERROR: 513
4418_963 v1.0 48
Mobile termination control and status commands
Syntax:
%XTEMP=<n>
Notification syntax:
%XTEMP: <temperature_level>,<temperature>
The set command parameters and their defined values are the following:
<n>
0 – Subscribe unsolicited temperature indications
1 – Unsubscribe unsolicited temperature indications
The notification parameters and their defined values are the following:
<temperature_level>
1 – Normal temperature
2 – High temperature. Factory default 55. This can be changed with High level for
internal temperature %XTEMPHIGHLVL on page 50.
3 – Critical temperature. TX/RX disabled. Factory default 90.
<temperature>
Integer. Celcius degrees between −40 and 125.
The following command example subscribes notifications:
AT%XTEMP=1
OK
%XTEMP: 1,37
%XTEMP: 2,56
%XTEMP: 3,91
%XTEMP?
Response syntax:
%XTEMP: <temperature>
AT%XTEMP?
%XTEMP: 50
OK
4418_963 v1.0 49
Mobile termination control and status commands
%XTEMPHIGHLVL=<temperature>
The set command parameters and their defined values are the following:
<temperature>
Integer. Celcius degrees between 1 and 85. Factory default 55.
The following command example sets the high temperature level:
AT%XTEMPHIGHLVL=60
OK
%XTEMPHIGHLVL?
The following command example reads the current internal high temperature level:
AT%XTEMPHIGHLVL?
%XTEMPHIGHLVL: 60
OK
4418_963 v1.0 50
Mobile termination control and status commands
+CCLK=<time>
The set command parameters and their defined values are the following:
<time>
String. Current time in the format "yy/MM/dd,hh:mm:ss±zz", where the characters,
from left to right, indicate year, month, day, hour, minutes, seconds, and time zone.
Time zone indicates the difference, expressed in quarters of an hour, between the
local time and GMT (value range −48...+48).
The following command example sets the real-time clock:
AT+CCLK="18/12/06,22:10:00+08"
OK
+CCLK: <time>
The read command parameters and their defined values are the following:
<time>
String. Current time in the format "yy/MM/dd,hh:mm:ss±zz", where the characters,
from left to right, indicate year, month, day, hour, minutes, seconds, and time zone.
Time zone indicates the difference, expressed in quarters of an hour, between the
local time and GMT (value range −48...+48).
4418_963 v1.0 51
Mobile termination control and status commands
Syntax:
%XMODEMTRACE=<oper>[,<set_id>]
The set command parameters and their defined values are the following:
<oper>
Operation.
0 – Deactivate traces
1 – Activate predefined trace set
2 – Activate trace bitmap
<set_id>
Integer. Predefined trace set identifier.
1 – Coredump only
2 – Generic
3 – LWM2M
4 – IP only
The following command example activates trace set 1:
AT%XMODEMTRACE=1,1
OK
Note: Only one supported LTE mode allowed at a time. This command is allowed only before
activating the modem using the CFUN=1 command. If the mode needs to be changed,the modem
must first be set to flight mode using the CFUN=4 command.
Syntax:
%XSYSTEMMODE=<M1_support>,<NB1_support>,<GNSS_support>,<LTE_preference>
4418_963 v1.0 52
Mobile termination control and status commands
The set command parameters and their defined values are the following:
<M1_support>
0 – LTE Cat-M1 not supported
1 – LTE Cat-M1 supported
<NB1_support>
0 – LTE Cat-NB1 not supported
1 – LTE Cat-NB1 supported
<GNSS_support>
0 – Global Navigation Satellite System (GNSS) not supported
1 – GNSS supported
LTE_preference
0 – No preference
1 – LTE Cat-M1 preferred
2 – LTE Cat-NB1 preferred
The following command example sets LTE Cat-M1 and GNSS as the system modes. No preferred LTE mode
set:
AT%XSYSTEMMODE=1,0,1,0
OK
%XSYSTEMMODE: <M1_SUPPORT>,<NB1_SUPPORT>,<GNSS_SUPPORT>,<LTE_PREFERENCE>
The read response parameters and their defined values are the following:
<M1_support>
0 – LTE Cat-M1 not supported
1 – LTE Cat-M1 supported
<NB1_support>
0 – LTE Cat-NB1 not supported
1 – LTE Cat-NB1 supported
<GNSS_support>
0 – GNSS not supported
1 – GNSS supported
LTE_preference
0 – No preference
1 – LTE Cat-M1 preferred
2 – LTE Cat-NB1 preferred
4418_963 v1.0 53
Mobile termination control and status commands
AT%XSYSTEMMODE?
%XSYSTEMMODE: 1,0,0,0
OK
%XPTW=<AcT-type>[,<Requested_ptw_value>]
The set command parameters and their defined values are the following:
<AcT-type>
4 – E-UTRAN (WB-S1 mode)
5 – E-UTRAN (NB-S1 mode)
<Requested_ptw_value>
String. Half a byte in a 4-bit format. The PTW value refers to bits from 8 to 5 of octet
3 of the Extended Discontinuous Reception (eDRX) parameters information element
(see subclause 10.5.5.32 of 3GPP TS 24.008). Optional. If not present, the value of
the requested AcT-type is reset to the manufacturer-specific default.
The following command example sets the requested PTW value:
AT%XPTW=4,"1000"
OK
%XPTW: <AcT-type>,<Requested_ptw_value>
The read response parameters and their defined values are the following:
<AcT-type>
4 – E-UTRAN (WB-S1 mode)
5 – E-UTRAN (NB-S1 mode)
4418_963 v1.0 54
Mobile termination control and status commands
<Requested_ptw_value>
String. Half a byte in a 4-bit format. The PTW value refers to bits from 8 to 5 of octet
3 of the eDRX parameters information element (see subclause 10.5.5.32 of 3GPP TS
24.008).
The following command example reads the requested PTW value(s):
AT%XPTW?
%XPTW: 4,"0110"
%XPTW: 5,"1110"
OK
Note:
• If the device supports many access technologies, each access technology is included in a
separate line as illustrated in the example above.
• The negotiated PTW value can be checked with the +CEDRXRDP command.
4418_963 v1.0 55
5 SiP pin configuration
SiP pin configuration commands can be used to configure the behavior of selected pins of the nRF91
System in Package (SiP). The pins that can currently be configured are COEX0, MAGPIO[0:2], and MIPI
RFFE.
For more information on the nRF9160 SiP pins, see Pin assignments in nRF9160 Product Specification.
The control of these pins is tied to the modem operations, i.e. the pins are only controllable when the
modem is active. For example, if the modem goes to a long Power Saving Mode (PSM) sleep mode, the
supply voltage for the pins is removed for power saving reasons and the pin state goes low until the
modem wakes up again. The pin configuration can be made dependent on the modem’s RF frequency.
This means that instead of using the cell’s static center frequency for decision-making, the dynamically
changing center frequency of the current narrowband is used. Downlink or uplink direction does not affect
the decision.
Note: The commands in this chapter are intended to be given only once at boot or, alternatively,
e.g. in final device production where AT+CFUN=0 must be given to store the command contents
to flash memory. After giving the commands, the modem software will automatically toggle the
pins, depending on RF frequency and modem state. In other words, the application does not need
to send these commands during modem active usage.
%XCOEX0=<count>,<state_0>,<freqlo_0>,<freqhi_0>,...
<state_count-1><freqlo_count-1><freqhi_count-1>
The set command parameters and their defined values are the following:
<count>
The number of frequency ranges. Valid values are 1, 2, 3, and 4.
<state_x>
The state of COEX0 with the following frequency range. Valid values are 0 and 1.
4418_963 v1.0 56
SiP pin configuration
<freqlo_x>
Low limit for the frequency range in MHz.
<freqhi_x>
High limit for the frequency range in MHz.
The following command example sets COEX0 to '1' when GPS is enabled (and '0' when GPS is turned off ).
COEX0 is not used with other frequencies (or LTE).
AT%XCOEX0=1,1,1570,1580
OK
This command example sets COEX0 to '1' when GPS is enabled, or LTE frequency is 600–800 MHz or 2000–
2180 MHz
AT%XCOEX0=3,1,1570,1580,1,2000,2180,1,600,800
OK
If the command is given without any parameters, it deletes the previously written values:
AT%XCOEX0
OK
%XCOEX0: <count>,<state_0>,<freqlo_0>,<freqhi_0>,...
<state_count-1><freqlo_count-1><freqhi_count-1>
The read response parameters and their defined values are the following:
<count>
The number of frequency ranges. Valid values are 1, 2, 3, and 4.
<state_x>
The state of COEX0 with the following frequency range. Valid values are 0 and 1.
<freqlo_x>
Low limit for the frequency range in MHz.
<freqhi_x>
High limit for the frequency range in MHz.
The following command example returns the stored configuration:
AT%XCOEX0?
AT%XCOEX0: 3,1,1570,1580,1,2000,2180,1,600,800
OK
4418_963 v1.0 57
SiP pin configuration
%XMAGPIO=<gpio_0>,<gpio_1>,<gpio_2>,<num_ranges>,<state_0>,<flo_0>,<fhi_0><state_1>,<flo_1>,
<fhi_1>,...
<gpio_x>
0 – MAGPIO_x is not used
1 – MAGPIO_x used
<num_ranges>
The number of frequency ranges, maximum value 12
<state_y>
Settings of the MAGPIO pins for the range x that follows
<flo_y>
Frequency range low value when the setting is active, in MHz
<fhi_y>
Frequency range high value when the setting is active, in MHz
The following table contains an example configuration for an antenna tuner:
4418_963 v1.0 58
SiP pin configuration
AT%XMAGPIO=1,1,1,7,1,746,803,2,698,746,2,1710,2200,3,849,894,4,894,960,6,803,849,7,
1574,1577
OK
AT%XMAGPIO=1,1,1,3,0,1574,1577,1,705,747,6,748,804
OK
AT%XMAGPIO
OK
%XMAGPIO:
<gpio_0>,<gpio_1>,<gpio_2>,<num_ranges>,<state_0>,<flo_0>,<fhi_0><state_1>,<flo_1>,
<fhi_1>,...
The read response parameters and their defined values are the following:
<gpio_x>
0 – MAGPIO_x is not used
1 – MAGPIO_x used
<num_ranges>
The number of frequency ranges, maximum value 12
<state_y>
Settings of the MAGPIO pins for the range x that follows
4418_963 v1.0 59
SiP pin configuration
<flo_y>
Frequency range low value when the setting is active, in MHz
<fhi_y>
Frequency range high value when the setting is active, in MHz
The following command example returns the stored configuration:
AT%XMAGPIO?
AT%XMAGPIO: 1,1,1,3,0,1574,1577,1,705,747,6,748,804
OK
AT%XMIPIRFFEDEV=<dev_id>,<def_usid>,<prod_id>,<man_id>,<pm_trig>
The set command parameters and their defined values are the following:
<dev_id>
Selectable identification number for the device. Non-zero. Valid range 1–255. The
given dev_id is used with the XMIPIRFFECTRL command. (See SiP-external
MIPIRFFE device control configuration %XMIPIRFFECTRL on page 62.)
<def_usid>
A 4-bit default Unique Slave Identifier (USID) for the MIPI RFFE device. Typically 7
for antenna tuners (as suggested by MIPI).
2
MIPI RFFESM, MIPI RF Front-End Control Interface (RFFE)
4418_963 v1.0 60
SiP pin configuration
<prod_id>
An 8-bit PRODUCT_ID of the MIPI RFFE device. Only used if automatic
reprogramming of the USID is needed. EXT_PRODUCT_ID is not supported.
<man_id>
A 10-bit MANUFACTURER_ID of the MIPI RFFE device. Only used if automatic
reprogramming of the USID is needed.
<pm_trig>
An 8-bit content for PM_TRIG (address 0x1C) state. This is for setting the default
power and triggering mode. Note that the setting of PM_TRIG can be also
changed with a use case. See SiP-external MIPIRFFE device control configuration
%XMIPIRFFECTRL on page 62.
All numbers should be given as decimals, i.e. not as hexadecimals.
Currently, nRF91 supports only one MIPI RFFE-controlled device.
The following command example introduces an (example) antenna tuner device using the values dev_id =
1, def_usid = 7, prod_id = 171, man_id = 331, pm_trig = 184:
AT%XMIPIRFFEDEV=1,7,171,331,184
OK
%XMIPIRFFEDEV: <dev_id>,<def_usid>,<prod_id>,<man_id>,<pm_trig>
The read response parameters and their defined values are the following:
<dev_id>
Selectable identification number for the device. Non-zero. Valid range 1–255. The
given dev_id is used with the XMIPIRFFECTRL command. (See SiP-external
MIPIRFFE device control configuration %XMIPIRFFECTRL on page 62.)
<def_usid>
A 4-bit default USID for the MIPI RFFE device. Typically 7 for antenna tuners (as
suggested by MIPI).
<prod_id>
An 8-bit PRODUCT_ID of the MIPI RFFE device. Only used if automatic
reprogramming of the USID is needed. EXT_PRODUCT_ID is not supported.
<man_id>
A 10-bit MANUFACTURER_ID of the MIPI RFFE device. Only used if automatic
reprogramming of the USID is needed.
4418_963 v1.0 61
SiP pin configuration
<pm_trig>
An 8-bit content for PM_TRIG (address 0x1C) state. This is for setting the default
power and triggering mode. Note that the setting of PM_TRIG can be also
changed with a use case. See SiP-external MIPIRFFE device control configuration
%XMIPIRFFECTRL on page 62.
Example:
The following set commands have been given:
AT%XMIPIRFFEEV=1,7,171,331,184
OK
AT%XMIPIRFFECTRL= 1,1,1,28,56,6,1,2,2,3,750,3,8,850,18,9,1000,20,12,1700,35,19,1900,37,
25,2200
OK
AT%XMIPIRFFEDEV?
%XMIPIRFFEDEV: 1,7,171,331,184
INIT:
ON: 1,1,1,28,56,6,1,2,2,3,750,3,8,850,18,9,1000,20,12,1700,35,19,1900,37,25,2200
OFF:
PWROFF:
OK
AT%XMIPIRFFEDEV=<dev_id>
The following command deletes the device whose <dev_id> = 1 and all related use case controls that have
been given using AT%XMIPIRFFECTRL:
AT%XMIPIRFFEDEV=1
OK
CAUTION: The combined load of PCB routing, the input load of controlled, and any parasitic load
from application shall not exceed 15 pF at SCLK or at SDATA pins. This load translates roughly to
narrow transmission line length of less than 10 cm at the application board but it is dependent
on the actual PCB design. A load higher than 15 pF at SCLK or SDATA pin will increase the risk of
unwanted behavior of the nRF91 SiP itself and of MIPI RFFE control.
4418_963 v1.0 62
SiP pin configuration
INIT
Applied when RF is waking up. The configuration is frequency-agnostic. Controls up to four MIPI RFFE
device registers. The main purpose is to allow preparation or activation of the MIPI RFFE device if
activation requires long settling.
ON
Applied when RF is starting for a specific frequency or when LTE M1 frequency hopping is performed
by the modem RF. Controls a maximum of two frequency-agnostic registers that can be used for
device activation, for instance. This use case also controls a maximum of two registers whose
value can be defined to depend on the RF frequency of the modem. The table for the frequency-
dependent control can have a maximum of 64 frequencies.
OFF
Applied when RF is stopping. The configuration is frequency-agnostic. Controls up to four MIPI RFFE
device registers.
PWROFF
Applied when RF is going to sleep. The configuration is frequency-agnostic. Controls up to four MIPI
RFFE device registers. The main purpose is to deactivate the MIPI RFFE device.
AT%XMIPIRFFECTRL=<dev_id>,<use_case#>,<variable_number_of_use_case_specific_parameters>
The set command parameters and their defined values are the following:
<dev_id>
The identification number of the MIPI RFFE device given when it was introduced
using MIPIRFFEDEV (see SiP-external MIPIRFFE device introduction
%XMIPIRFFEDEV on page 60).
<use_case#>
Number of the use case. INIT = 0, ON = 1, OFF = 2, PWR_OFF = 3. All numbers must
be given as decimals (hexadecimals not allowed).
The following figure illustrates the RFFE device control in different use cases:
4418_963 v1.0 63
SiP pin configuration
50-100 us
50-100 us
>200 us ON ON
Modem state e.g. LTE RX or GPS e.g. LTE TX
OFF OFF
Sleep/ OFF Sleep/
PWROFF PWROFF
time
In the figure, PAC/Switch refers to a register in an example antenna tuner that controls the tunable
capacitors and/or switches.
INIT (0)
AT%XMIPIRFFECTRL=<dev_id>,0,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>
OFF (2)
AT%XMIPIRFFECTRL=<dev_id>,2,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>
PWROFF (3)
AT%XMIPIRFFECTRL=<dev_id>,3,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>
<n>
The number of address/data pairs. Valid values are 0, 1, 2, 3, 4. If the value is 0, all
the following fields must be omitted.
<address_x>
The 8-bit address of the internal register in MIPI RFFE device. x = 0, ..., n−1.
<data_x>
The 8-bit data to be written to <address_x>. x = 0, ..., n−1.
The following command example configures the INIT use case of <dev_id> = 1 to write value 184 = 0xB8 to
register address 28 = 0x1C, and value 0 to register address 0:
AT%XMIPIRFFECTRL=1,0,2,28,184,0,0
4418_963 v1.0 64
SiP pin configuration
The following example configures the example antenna tuner device to low power mode at OFF use case
by writing register 28 with value 184:
AT%XMIPIRFFECTRL=1,2,1,28,184
AT%XMIPIRFFECTRL=<dev_id>,1,n,<act_addr_0><act_data_0><act_addr_n-1><act_data_n-1><k>,
<addr_0>,<addr_1>,<data_0_0><data_1_0>,<freq_0>,...,<data_0_k-1><data_1_k-1><freq_k-1>
<n>
The number of activation register address-data pairs. Valid values are 0, 1, 2. If n =
0, act_addr_0/1 and act_data_0/1 must be omitted.
<act_addr_x>
Optional 8-bit address of the first register whose value is set to e.g. activate device.
This is written each time RF starts.
<act_data_x>
Optional 8-bit data for the register in <act_addr_x>.
<k>
The number of frequencies in the configuration. Valid values are 0−64. If k = 0, all
the following fields must be omitted.
<addr_0>
The 8-bit address of the first register, whose value is changed on the basis of RF
frequency.
<addr_1>
The 8-bit address of the other register, whose value is changed on the basis of RF
frequency. If addr_1 == addr_0, then only <data_0_x> is written.
<data_0_y>
The 8-bit data for the register in <addr_0>, if frequency is smaller than or equal to
<freq_y>.
<data_1_y>
The 8-bit data for the register in <addr_1>, if frequency is smaller than or equal to
<freq_y>. Note that data_1_y must be given (e.g. as 0) even if addr_1 == addr_0.
<freq_y>
The frequency in MHz (integer), to which the current RF frequency is compared.
If current RF frequency is smaller than or equal to <freq_y>, then <data_0_y>
is written to <addr_0> and <data_1_y> is written to <addr_1>. Note that if the
RF frequency is greater than <freq_k−1> (the last given frequency), then neither
<addr_0> nor <addr_1> is written.
4418_963 v1.0 65
SiP pin configuration
The command below configures the ON use case of <dev_id> = 1 to write activation value 56 to register 28
(<n> = 1):
AT
%XMIPIRFFECTRL=1,1,1,28,56,6,1,2,2,3,750,3,8,850,18,9,1000,20,12,1700,35,19,1900,37,25,2200
The command also configures the following frequency table (<k> = 6):
Table 3: Example frequency dependency table for the values for registers <addr_0> and <addr_1>
AT%XMIPIRFFECTRL=<dev_id>,1,0,0
AT%XMIPIRFFECTRL==<dev_id>,3,0
4418_963 v1.0 66
6 Packet domain commands
Commands for the packet domain include commands that control packet-switched services.
Note: +CGDCONT=<cid> causes the values for context number <cid> to become undefined.
The set command parameters and their defined values are the following:
<cid>
0–11 (mandatory). Specifies a particular Packet Data Protocol (PDP) Context
definition. The parameter is local to the device and is used in other PDP context-
related commands.
<PDP_type>
String type
IP – Internet Protocol
IPV6 – Internet Protocol version 6
IPV4V6 – Virtual type of dual IP stack
<APN>
String – Access Point Name (APN)
<PDP_addr>
Ignored
<d_comp>
Ignored
<h_comp>
Ignored
<IPv4AdrAlloc>
0 – IPv4 address via Non-access Stratum (NAS) signaling (default)
1 – IPv4 address via Dynamic Host Configuration Protocol (DHCP)
4418_963 v1.0 67
Packet domain commands
<request type>
Ignored
<P-CSCF_discovery>
Ignored
<IM_CN_SignallingFlag>
Ignored
<NSLPI>
0 – Non-access Stratum (NAS) Signalling Low Priority Indication (NSLPI) value from
configuration is used (default)
1 – Value "Not configured" for NAS signaling low priority
<securePCO>
0 – Protected transmission of Protocol Configuration Options (PCO) is not requested
(default)
1 – Protected transmission of PCO is requested
The following command example configures CID 1 to use IPv4 and access point "IOT_apn"
AT+CGDCONT=1,"IP","IOT_apn"
OK
+CGDCONT: <cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>
The read command parameters and their defined values are the following:
<cid>
0–11
<PDP_type>
String type
IP – Internet Protocol
IPV6 – Internet Protocol version 6
IPV4V6 – Virtual type of dual IP stack
<APN>
String – APN
<PDP_addr>
String – IP address
d_comp
0 – Compression not supported
4418_963 v1.0 68
Packet domain commands
h_comp
0 – Compression not supported
The following command example reads configured default bearers:
AT+CGDCONT?
+CGDCONT: 0,"IP","internet","10.0.1.1",0,0
+CGDCONT: 1,"IP","IOT_apn","10.0.1.2",0,0
OK
+CGEREP=[<mode>]
The command parameter and its defined values are the following:
<mode>
0 – Do not forward unsolicited result codes to the TE (default).
1 – Discard unsolicited result codes when the MT TE link is reserved. Otherwise,
forward them directly to the TE.
The following command example subscribes CGEV notifications:
AT+CGEREP=1
OK
+CGEREP: <mode>,<bfr>
The read command parameter and its defined values are the following:
4418_963 v1.0 69
Packet domain commands
<mode>
0 – Do not forward unsolicited result codes to the TE (default).
1 – Discard unsolicited result codes when the MT TE link is reserved. Otherwise,
forward them directly to the TE.
<bfr>
0 – MT buffer of unsolicited result codes is cleared when <mode> 1 is entered
The following command example reads the current mode:
AT+CGEREP?
+CGEREP: 1,0
OK
The test command parameters and their defined values are the following:
<mode>
0 – Do not forward unsolicited result codes to the TE (default).
1 – Discard unsolicited result codes when the MT TE link is reserved. Otherwise,
forward them directly to the TE.
<bfr>
0 – MT buffer of unsolicited result codes is cleared when <mode> 1 is entered
Example:
AT+CGEREP=?
+CGEREP: (0,1),(0)
OK
+CGEV: NW DETACH
4418_963 v1.0 70
Packet domain commands
+CGEV: ME DETACH
+CGEV: ME OVERHEATED
<cid>
0–11
4418_963 v1.0 71
Packet domain commands
<reason>
0 – Only IPv4 allowed
1 – Only IPv6 allowed
2 – Only single access bearers allowed
3 – Only single access bearers allowed and context activation for a second address
type bearer was not successful.
<change_reason>
Integer. A bitmap that indicates what kind of change has occurred. The
<change_reason> value is determined by summing all the applicable bits.
Bit 1 – TFT changed
Bit 2 – QoS changed
Bit 3 – WLAN offload changed
<cid_other>
1–11: Indicates the context identifier allocated for an MT-initiated context of
a second address type. This parameter is included only if <reason> parameter
indicates that only single address bearers are allowed.
<p_cid>
0–11: Context identifier for an associated default context.
<event_type>
0 – Informational event
1 – Information request. Acknowledgement is required and it can be either accept
or reject.
The example notification shows that an initial Packet Data Network (PDN) connection is activated:
The example notification shows that the device is detached from network:
+CGEV: ME DETACH
First, the Packet Data Protocol (PDP) Context needs to be defined with the +CGDCONT command, see
Define PDP Context +CGDCONT on page 67.
4418_963 v1.0 72
Packet domain commands
Syntax:
+CGACT=<state>,<cid>
The set command parameters and their defined values are the following:
<state>
0 – Deactivate
1 – Activate
<cid>
1–11
The following command example activates a bearer configured with CID 1:
AT+CGACT=1,1
OK
+CGACT: <cid>,<state>
The read command parameters and their defined values are the following:
<state>
0 – deactivate
1 – activate
<cid>
0–11
The following command example returns a list of connections with states:
AT+CGACT?
+CGACT: 0,1
+CGACT: 1,1
OK
The test command parameters and their defined values are the following:
<state>
0 – Deactivate
1 – Activate
4418_963 v1.0 73
Packet domain commands
Example:
AT+CGACT=?
+CGACT: (0,1)
OK
%XNEWCID: <cid>
The command parameter and its defined values are the following:
<cid>
1–11
The following command example requests the allocation of a new context identifier:
AT%XNEWCID?
%XNEWCID: 2
OK
4418_963 v1.0 74
Packet domain commands
Syntax:
%XGETPDNID=<cid>
Response syntax:
%XGETPDNID: <pdn_id>
The command parameters and their defined values are the following:
<cid>
0–11
<pdn_id>
0–20
Example:
AT%XGETPDNID=0
%XGETPDNID: 1
OK
+CGEQOSRDP[=<cid>]
Response syntax:
[+CGEQOSRDP: <cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>][,<DL_AMBR>,<UL_AMBR>]]
The command parameters and their defined values are the following:
<cid>
Context identifier, 0 – 11. If the parameter <cid> is omitted, the QoS parameters for
all active Packet Data Protocol (PDP) Contexts are returned.
4418_963 v1.0 75
Packet domain commands
<QCI>
Integer. Specifies a class of EPS QoS (see 3GPP TS 23.203 and 3GPP TS 24.301).
<DL_AMBR>
Integer. Specifies downlink APN aggregate maximum bitrate. Value range 0–
65280000 kbps.
<UL_AMBR>
Integer. Specifies uplink APN aggregate maximum bitrate. Value range 0–65280000
kbps.
+CGPADDR[=<cid>]
[+CGPADDR: <cid>[,<PDP_addr_1>[,<PDP_addr_2>]]]
The set command parameters and their defined values are the following:
4418_963 v1.0 76
Packet domain commands
<cid>
0–11
<PDP_addr_1>
String. For IPv4 given as a dot-separated numeric (0–255) parameter. For IPv6 given
as a colon-separated hexadecimal (0x0000–0xFFFF) parameter.
<PDP_addr_2>
String. Given as a colon-separated hexadecimal (0x0000–0xFFFF) parameter.
Included when both IPv4 and IPv6 addresses are assigned.
The following command example returns the IP address for context 1:
AT+CGPADDR=1
+CGPADDR: 1,"10.0.0.130","1050:0000:0000:0000:0005:0600:300c:326b"
OK
The test command parameter and its defined values are the following:
<cid>
0–11
Example:
AT+CGPADDR=?
+CGPADDR: (0,1)
OK
+CGCONTRDP=<cid>
4418_963 v1.0 77
Packet domain commands
Response syntax:
The set command parameters and their defined values are the following:
<cid>
0–11 (mandatory)
<bearer_id>
Integer. Not supported.
<apn>
String, a logical name for the network
<gw_addr>
String. Not supported.
<DNS_prim_addr>, <DNS_sec_addr>
String. DNS server IP address
IPv4_MTU
IPv4 Maximum Transmission Unit (MTU) size
Note: If the PDN connection has dual stack capabilities, at least one pair of lines with information
is returned per <cid>: First one line with the IPv4 parameters followed by one line with the IPv6
parameters.
The following command example reads dynamic parameters for an initial PDN connection:
AT+CGCONTRDP=0
+CGCONTRDP: 0,,"internet","","","10.0.0.1","10.0.0.2",,,,,1028
OK
4418_963 v1.0 78
Packet domain commands
Note: The UE performs an attach automatically when activated. In normal operation there is no
need to issue the +CGATT command.
Syntax:
+CGATT=<state>
The set command parameters and their defined values are the following:
<state>
0 – Detached
1 – Attached
The following command example performs an EPS attach:
AT+CGATT=1
OK
+CGATT: <state>
The response parameters and their defined values are the following:
<state>
0 – Detached
1 – Attached
The following command example reads the state in EPS attach state:
AT%CGATT?
+CGATT: 1
OK
The test command parameters and their defined values are the following:
<state>
0 – Detached
1 – Attached
4418_963 v1.0 79
Packet domain commands
Example:
AT+CGATT=?
+CGATT: (0,1)
OK
+CEPPI=<power preference>
The set command parameters and their defined values are the following:
<power preference>
0 – Normal
1 – Low power consumption
The following command example selects the power saving preference:
AT+CEPPI=1
OK
The set command parameters and their defined values are the following:
<power preference>
0 – Normal
1 – Low power consumption
The following command example lists the supported power saving preferences:
AT+CEPPI=?
+CEPPI: (0,1)
4418_963 v1.0 80
Packet domain commands
%XPCO=<n>
Notification syntax:
The set command parameters and their defined values are the following:
<n>
0 – Unsubscribe PCO notifications
1 – Subscribe PCO notifications
The notification parameters and their defined values are the following:
<id>
PCO identifier
<container data>
Content of the container, hexadecimal data encoded with IRA characters. An empty
container data string indicates that PCO container has not been received.
The following command example subscribes E-UTRA signal quality notifications:
AT%XPCO=1
OK
%XPCO: 65280,"A1B1C1D1"
4418_963 v1.0 81
Packet domain commands
%XEPCO=<epco>
The set command parameters and their defined values are the following:
<epco>
0 – Use PCO
1 – use ePCO
The following command example disables ePCO and selects PCO:
AT%XEPCO=0
OK
%XAPNCLASS=<oper>,<class>[,<apn>]
%XAPNCLASS: <class>,<apn>,<addr_type>
The set command and response parameters and their defined values are the following:
<oper>
0 – Read
1 – Write
<class>
APN class
<apn>
APN name string
4418_963 v1.0 82
Packet domain commands
<addr_type>
String
IP – Internet Protocol
IPV6 – Internet Protocol version 6
IPV4V6 – Virtual type of dual IP stack
The following command example reads APN class 3:
AT%XAPNCLASS=0,3
%XAPNCLASS: 3,"VZWAPN","IPV4V6"
OK
%XAPNCLASS=1,2,"APN2"
OK
%XIPV6FAIL=<cid>,<failure_type>
The set command parameters and their defined values are the following:
<cid>
Context identifier
<failure_type>
0 – IPv6 address refresh failure
1 – IPv6 address resolution failure
4418_963 v1.0 83
Packet domain commands
The following command example indicates the modem an IPv6 address resolution failure in the default
context identifier 0:
AT%XIPV6FAIL=0,1
OK
+CGAUTH=<cid>[,<auth_prot>[,<userid>[,<password>]]]
The set command parameters and their defined values are the following:
<cid>
0–11
<auth_prot>
0 – None. Username and password are removed if they have been specified.
1 – PAP
2 – CHAP
<userid>
String
<password>
String
The following command example sets authentication parameters for CID=1 context:
AT+CGAUTH=1,"PAP","username","password"
OK
4418_963 v1.0 84
Packet domain commands
4418_963 v1.0 85
7 Network service related commands
For reference, see 3GPP 27.007 Ch. 7.
+COPS=[<mode>[,<format>[,<oper>]]]
The set command parameters and their defined values are the following:
<mode>
0 – Automatic network selection
1 – Manual network selection
3 – Set <format> of +COPS read command response.
<format>
0 – Long alphanumeric <oper> format. Only for <mode> 3.
1 – Short alphanumeric <oper> format. Only for <mode> 3 .
2 – Numeric <oper> format
<oper>
String. Mobile Country Code (MCC) and Mobile Network Code (MNC) values. Only
numeric string formats supported.
For manual selection, only the numeric string format is supported and <oper> is mandatory.
The following command example selects the automatic network selection:
AT+COPS=0
OK
AT+COPS=1,2,"24407"
OK
4418_963 v1.0 86
Network service related commands
Response syntax:
+COPS: <mode>[,<format>,<oper>,[AcT>]]
The read command parameters and their defined values are the following:
<mode>
0 – Automatic network selection
1 – Manual network selection
2 – Deregistered. Only for the Read command.
<format>
0 – Long alphanumeric <oper> format
1 – Short alphanumeric <oper> format
2 – Numeric <oper> format
<oper>
A string consisting of the operator name in the alphanumeric format or a string of
MCC and MNC values.
<AcT>
7 – E-UTRAN
9 – E-UTRAN (NB-S1 mode)
The following command example reads the current selection mode and network:
AT+COPS?
+COPS: 0,2,"26201",7
OK
The following command example reads the current selection mode and network with the operator name
in the alphanumeric format:
AT+COPS?
+COPS: 0,0,"RADIOLINJA",7
OK
<oper>
String. MCC and MNC values. Only numeric string formats supported.
4418_963 v1.0 87
Network service related commands
<stat>
0 – Unknown
1 – Available
2 – Current
3 – Forbidden
<AcT>
7 – E-UTRAN
9 – E-UTRAN (NB-S1 mode)
Note:
• The command fails if the device has an active radio connection. It returns ERROR or +CME
ERROR: 516
• The time needed to perform a network search depends on device configuration and network
conditions.
AT+COPS=?
+COPS: (2,"","","26201",7),(1,"","","26202",7)
OK
+CPSMS=[<mode>[,<Requested_Periodic-RAU>,<Requested_GPRS-READY-timer>
,<Requested_Periodic-TAU>[,<Requested_Active-Time>]]]
The command can be given as +CPSMS= (with all parameters omitted). In this form, the parameter
<mode> is set to 0, the use of PSM is disabled, and data for all parameters is set to the manufacturer-
specific default values.
The set command parameters and their defined values are the following:
<mode>
0 – Disable power saving mode
1 – Enable power saving mode
<Requested_Periodic-RAU>
Ignored
4418_963 v1.0 88
Network service related commands
<Requested_GPRS-READY-timer>
Ignored
<Requested_Periodic-TAU>
String. One byte in 8-bit format.
Optional. Timer value updated if present. For the coding and value range, see the
GPRS Timer 3 IE in 3GPP TS 24.008 Table 10.5.163a/3GPP TS 24.008.
Note: If the USIM profile in use is a Verizon one, the minimum value for
<Requested_Periodic-TAU> is 190 minutes.
<Requested_Active-Time>
String. One byte in 8-bit format.
Optional. Timer value updated if present. For the coding and value range, see the
GPRS Timer 2 IE in 3GPP TS 24.008 Table 10.5.163/3GPP TS 24.008.
The following command example enables power saving mode and set timer values. Set Periodic-TAU timer
to 10 minutes and Active-Time to 1 minute.
AT+CPSMS=1,"","","10101010","00100001"
OK
AT+CPSMS=0
OK
The following command example disables power saving mode and sets timer to default values:
AT+CPSMS=
OK
+CPSMS: <mode>,[<Requested_Periodic-RAU>],[<Requested_GPRS-READY-timer>],
[<Requested_Periodic-TAU>],[<Requested_Active-Time>]
The read command parameters and their defined values are the following:
<mode>
0 – Disable power saving mode
1 – Enable power saving mode
<Requested_Periodic-RAU>
Ignored
<Requested_GPRS-READY-timer>
Ignored
4418_963 v1.0 89
Network service related commands
<Requested_Periodic-TAU>
String. One byte in 8-bit format.
Optional. Timer value updated if present. For the coding and value range, see the
GPRS Timer 3 IE in 3GPP TS 24.008 Table 10.5.163a/3GPP TS 24.008.
Note: If the USIM profile in use is a Verizon one, the minimum value for
<Requested_Periodic-TAU> is 190 minutes.
<Requested_Active-Time>
String. One byte in 8-bit format.
Optional. Timer value updated if present. For the coding and value range, see the
GPRS Timer 2 IE in 3GPP TS 24.008 Table 10.5.163/3GPP TS 24.008.
The following command example reads the current power saving mode settings:
AT+CPSMS?
+CPSMS: 1,,,"10101111","01101100"
OK
+CEDRXS=[<mode>,[,<AcT-type>[,<Requested_eDRX_value>]]]
+CEDRXP: <AcT-type>[,<Requested_eDRX_value>[,<NW-provided_eDRX_value>
[,<Paging_time_window>]]]
The set command parameters and their defined values are the following:
<mode>
0 − Disable the use of eDRX
1 − Enable the use of eDRX
2 − Enable the use of eDRX and enable the unsolicited result code
3 − Disable the use of eDRX and discard all parameters for eDRX or, if available,
reset to the manufacturer-specific default values
4418_963 v1.0 90
Network service related commands
<ActT-type>
4 − E-UTRAN (WB-S1 mode)
5 − E-UTRAN (NB-S1 mode)
<Requestd_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3 of
the Extended DRX parameters information element (see 3GPP TS 24.008, subclause
10.5.5.32). Mandatory when enabling eDRX.
<NW-Provided_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3 of
the Extended DRX parameters information element (see 3GPP TS 24.008, subclause
10.5.5.32).
<Paging_time_window>
String. Half a byte in a 4-bit format. The paging time window referes to bit 8 to 5 of
octet 3 of the Extended DRX parameters information element (see 3GPP TS 24.008,
subclause 10.5.5.32).
The following command example enables eDRX and set the requested eDRX value:
AT+CEDRXS=1,4,"1000"
OK
+CEDRXP: 4,"1000","0101","1011"
OK
+CEDRXS: <AcT-type>,<Requested_eDRX_value>
The read command parameters and their defined values are the following:
<mode>
0 − Disable the use of eDRX
1 − Enable the use of eDRX
2 − Enable the use of eDRX and enable the unsolicited result code
3 − Disable the use of eDRX and discard all parameters for eDRX or, if available,
reset to the manufacturer-specific default values
<ActT-type>
4 − E-UTRAN (WB-S1 mode)
5 − E-UTRAN (NB-S1 mode)
4418_963 v1.0 91
Network service related commands
<Requestd_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3 of
the Extended DRX parameters information element (see 3GPP TS 24.008, subclause
10.5.5.32).
The following command example reads the requested eDRX value:
AT+CEDRXS?
+CEDRXS: 4,"0110"
OK
The test command parameters and their defined values are the following:
<mode>
0 − Disable the use of eDRX
1 − Enable the use of eDRX
2 − Enable the use of eDRX and enable the unsolicited result code
3 − Disable the use of eDRX and discard all parameters for eDRX or, if available,
reset to the manufacturer-specific default values
<ActT-type>
4 − E-UTRAN (WB-S1 mode)
5 − E-UTRAN (NB-S1 mode)
<Requestd_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3 of
the Extended DRX parameters information element (see 3GPP TS 24.008, subclause
10.5.5.32).
The following command example reads the supported parameter values:
AT+CEDRXS=?
+CEDRXS: (0-3),(4-5),("0000"-"1111")
OK
4418_963 v1.0 92
Network service related commands
Syntax:
+CEDRXRDP
Response syntax:
+CEDRXRDP: <AcT-type>[,<Requested_eDRX_value>[,<NW-
provided_eDRX_value>[,<Paging_time_window>]]]
The command parameters and their defined values are the following:
<ActT-type>
0 – Current cell not using eDRX
4 – E-UTRAN (WB-S1 mode)
5 – E-UTRAN (NB-S1 mode)
<Requestd_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3 of
the Extended DRX parameters information element (see 3GPP TS 24.008, subclause
10.5.5.32).
<NW-Provided_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3 of
the Extended DRX parameters information element (see 3GPP TS 24.008, subclause
10.5.5.32).
<Paging_time_window>
String. Half a byte in a 4-bit format. The paging time window referes to bit 8 to 5 of
octet 3 of the Extended DRX parameters information element (see 3GPP TS 24.008,
subclause 10.5.5.32).
The following command example reads eDRX parameters:
AT+CEDRXRDP
+CEDRXRDP: 4,"0011","0010","1001"
OK
4418_963 v1.0 93
Network service related commands
Syntax:
+CNUM
Response syntax:
+CNUM: ,<number1>,<type1>
An ERROR response is returned if MSISDN is not available on SIM card or if SIM card is not initialized.
The command parameters and their defined values are the following:
<numberx>
String type phone number of format specified by <typex>
<typex>
Type of address octet in integer format (see 3GPP TS 24.008 subclause 10.5.4.7)
The following command example reads the subscriber number stored in the SIM:
AT+CNUM
+CNUM: ,"+1234567891234",145
OK
+COPN
Note: The device does not have operator names stored in it.
Example:
AT+COPN
OK
4418_963 v1.0 94
Network service related commands
+CLCK=<fac>,<mode>[,<passwd>]
<fac>
SC – SIM
<mode>
0 – Unlock
1 – Lock
<passwd>
String. Password for the facility.
The following command example disables PIN query:
AT+CLCK="SC",0,"<passwd>"
OK
Example:
AT+CLCK=?
+CLCK: ("SC")
OK
4418_963 v1.0 95
Network service related commands
+CPWD=<fac>,<oldpwd>,<newpwd>
The set command parameters and their defined values are the following:
<fac>
"SC" – SIM PIN
"P2" – SIM PIN2
<oldpwd>,<newpwd>
String. Password.
AT+CPWD="SC","1234","5678"
OK
The test command parameters and their defined values are the following:
<fac>
"SC" – SIM PIN
"P2" – SIM PIN2
<pwdlength>
Integer. Maximum length of the password
Example:
AT+CPWD=?
+CPWD: ("SC",8),("P2",8)
OK
4418_963 v1.0 96
Network service related commands
+CEREG=<n>
The set command parameters and their defined values are the following:
<n>
0 – Disable unsolicited result codes
1 – Enable unsolicited result codes +CEREG:<stat>
2 – Enable unsolicited result codes +CEREG:<stat>[,<tac>,<ci>,<AcT>]
3 – Enable unsolicited result codes
+CEREG:<stat>[,<tac>,<ci>,<AcT>[,<cause_type>,<reject_cause>]]
4 – Enable unsolicited result codes +CEREG: <stat>[,[<tac>],[<ci>],
[<AcT>][,,[,[<Active-Time>],[<Periodic-TAU>]]]]
5 – Enable unsolicited result codes +CEREG: <stat>[,[<tac>],[<ci>],
[<AcT>][,[<cause_type>],[<reject_cause>][,[<Active-
Time>],[<Periodic-TAU>]]]]
For the notification syntax parameters, see Read command on page 97.
The following command example subscribes notifications with level 2:
AT+CEREG=2
OK
+CEREG: 2
+CEREG: 1,"002F","0012BEEF",7
4418_963 v1.0 97
Network service related commands
<n>
0 – Disable unsolicited result codes
1 – Enable unsolicited result codes +CEREG:<stat>
2 – Enable unsolicited result codes +CEREG:<stat>[,<tac>,<ci>,<AcT>]
3 – Enable unsolicited result codes
+CEREG:<stat>[,<tac>,<ci>,<AcT>[,<cause_type>,<reject_cause>]]
4 – Enable unsolicited result codes +CEREG: <stat>[,[<tac>],[<ci>],
[<AcT>][,,[,[<Active-Time>],[<Periodic-TAU>]]]]
5 – Enable unsolicited result codes +CEREG: <stat>[,[<tac>],[<ci>],
[<AcT>][,[<cause_type>],[<reject_cause>][,[<Active-
Time>],[<Periodic-TAU>]]]]
<stat>
0 – Not registered. UE is not currently searching for an operator to register to.
1 – Registered, home network.
2 – Not registered, but UE is currently trying to attach or searching an operator to
register to.
3 – Registration denied.
4 – Unknown (e.g. out of E-UTRAN coverage).
5 – Registered, roaming.
8 – Attached for emergency bearer services only.
90 – Not registered due to UICC failure.
<tac>
String. A 2-byte Tracking Area Code (TAC) in hexadecimal format.
<ci>
String. A 4-byte E-UTRAN cell ID in hexadecimal format.
<AcT>
7 – E-UTRAN
9 – E-UTRAN NB-S1
<cause_type>
0 – <reject_cause> contains an EPS Mobility Management (EMM) cause value. See
3GPP TS 24.301 Annex A.
<reject_cause>
EMM cause value. See 3GPP TS 24.301 Annex A
<Active-Time>
String. One byte in an 8-bit format.
Indicates the Active Time value (T3324) allocated to the device in E-UTRAN. For
the coding and value range, see the GPRS Timer 2 IE in 3GPP TS 24.008 Table
10.5.163/3GPP TS 24.008.
4418_963 v1.0 98
Network service related commands
<Periodic-TAU>
String. One byte in an 8-bit format.
Indicates the extended periodic Tracking Area Update (TAU) value (T3412) allocated
to the device in E-UTRAN. For the coding and value range, see the GPRS Timer 3 IE
in 3GPP TS 24.008 Table 10.5.163a/3GPP TS 24.008.
The following command example reads the current registration status:
AT+CEREG?
+CEREG: 2,1,"002F","0012BEEF",7
OK
The test command parameters and their defined values are the following:
<n>
0 – Disable unsolicited result codes
1 – Enable unsolicited result codes +CEREG:<stat>
2 – Enable unsolicited result codes +CEREG:<stat>[,<tac>,<ci>,<AcT>]
3 – Enable unsolicited result codes
+CEREG:<stat>[,<tac>,<ci>,<AcT>[,<cause_type>,<reject_cause>]]
4 – Enable unsolicited result codes +CEREG: <stat>[,[<tac>],[<ci>],
[<AcT>][,,[,[<Active-Time>],[<Periodic-TAU>]]]]
5 – Enable unsolicited result codes +CEREG: <stat>[,[<tac>],[<ci>],
[<AcT>][,[<cause_type>],[<reject_cause>][,[<Active-
Time>],[<Periodic-TAU>]]]]
The example shows supported unsolicited results codes:
AT+CEREG=?
+CEREG: (0-5)
OK
4418_963 v1.0 99
Network service related commands
Syntax:
%XOPNAME=<n>
Notification syntax:
%XOPNAME: [<full_name>],[<short_name>],[<oper>]
The command and notification parameters and their defined values are the following:
<n>
0 – Unsubscribe unsolicited operator names
1 – Subscribe unsolicited operator names
<full_name>
A string in hexadecimal format. An optional field for the full operator name as
specified in 3GPP TS 24.008 Ch. 10.5.3.5a Network Name and received from
network. The first octet describes the number of spare bits in the last octet, usage
of country initials, and the coding scheme of the network name. Octets 2−n specify
the network name.
<short_name>
A string in hexadecimal format. An optional field for a short operator name as
specified in 3GPP TS 24.008 Ch. 10.5.3.5a Network Name and received from
network. The first octet describes the number of spare bits in the last octet, usage
of country initials, and the coding scheme of the network name. Octets 2−n specify
the network name.
<oper>
A string of MCC and MNC values.
The following command example subscribes notifications:
AT%XOPNAME=1
OK
%XOPNAME: "88D6B23CAD7FBB41D7B4BCCC2ECFE7","8B56FD15","556776"
%XOPNAME: ,"8B56FD15","556776"
%XTIME=<n>
Notification syntax:
%XTIME: [<local_time_zone>],[<universal_time>],[<daylight_saving_time>]
The set command and notification parameters and their defined values are the following:
<n>
0 – Unsubscribe unsolicited network time
1 – Subscribe unsolicited network time
<local_time_zone>
A string in hexadecimal format. A one-byte optional field for the local time zone as
specified in 3GPP TS 24.008 Ch. 10.5.3.8 Time Zone and received from network.
<universal_time>
A string in hexadecimal format. A seven-byte optional field for universal time as
specified in 3GPP TS 24.008 Ch. 10.5.3.9 Time Zone and Time and received from
network.
<daylight_saving_time>
A string in hexadecimal format. A one-byte optional field for daylight saving time as
specified in 3GPP TS 24.008 Ch. 10.5.3.12 Daylight Saving Time and received from
network.
The following command example subscribes notifications:
AT%XTIME=1
OK
%XTIME: "08","81109251714208","01"
An example of an unsolicited notification for network time without local time zone:
%XTIME: ,"81109251714208","01"
%XRAI[=<rai>]
The set command parameters and their defined values are the following:
<rai>
Release assistance information sent to the network.
0 – Undefined, default
3 – Control plane one response. For more information, see 3GPP TS 24.301,
subclause 9.9.4.25 Release assistance indication.
4 – Control plane no response. For more information, see 3GPP TS 24.301,
subclause 9.9.4.25 Release assistance indication.
Note: When <rai> is set to 3 or 4, the UE includes release assistance information to the next
control plane uplink data transmission. The network is not expecting more uplink data and
will release the radio connection. Further uplink data transfer requires additional signaling for
establishing a radio connection.
The following command example sets release assistance information when the application has one packet
to be sent and no response from the network is expected:
AT%XRAI=4
OK
Syntax:
%XOPERID
Response syntax:
%XOPERID: <oper_id>
The response parameter and its defined values are the following:
<oper_id>
0 – Operator not identified as any of those listed below.
1 – Verizon
2 – AT&T
3 – AT&T FirstNet
4 – AT&T Cricket
5 – AT&T Jasper
6 – China Telecom
7 – Softbank
The following command example returns the operator ID:
AT%XOPERID
%XOPERID: 1
OK
%XMONITOR: <reg_status>,[<full_name>,<short_name>,<plmn>,<tac>,<AcT>,<band>,<cell_id>,
<phys_cell_id>,<EARFCN>,<rsrp>,<snr>,<NW-provided_eDRX_value>,<Active-Time>,<Periodic-TAU>]
The response parameters and their defined values are the following:
<reg_status>
0 – Not registered. UE is not currently searching for an operator to register to.
1 – Registered, home network.
2 – Not registered, but UE is currently trying to attach or searching an operator to
register to.
3 – Registration denied.
4 – Unknown (e.g. out of E-UTRAN coverage).
5 – Registered, roaming.
90 – Not registered due to UICC failure.
Note: The optional part is included in the response only when <reg_status>
is 1 or 5.
<full_name>
String. Operator name in alphanumeric format.
<short_name>
String. Operator name in alphanumeric format.
<plmn>
String. MCC and MNC values.
<tac>
String. A 2-byte TAC in hexadecimal format.
<AcT>
7 – E-UTRAN
9 – E-UTRAN NB-S1
<band>
Integer. Range 1−68. See 3GPP 36.101. The value is 0 when current band
information is not available.
<cell_id>
String. A 4-byte E-UTRAN cell ID in hexadecimal format.
<phys_cell_id>
Integer. Physical cell ID.
EARFCN
Integer. E-UTRA Absolute Radio Frequency Channel Number (EARFCN) for a given
cell where EARFCN is as defined in 3GPP TS 36.101.
<rsrp>
0 – RSRP < −140 dBm
1 – When −140 dBm ≤ RSRP < −139 dBm
2 – When −139 dBm ≤ RSRP < −138 dBm
...
95 – When −46 dBm ≤ RSRP < −45 dBm
96 – When −45 dBm ≤ RSRP < −44 dBm
97 – When −44 dBm ≤ RSRP
255 – Not known or not detectable
<snr>
0 – SNR < −24 dB
1 – When −24 dB ≤ SNR < −23 dB
2 – When −23 dB ≤ SNR < −22 dB
...
47 – When 22 dB ≤ SNR < 23 dB
48 – When 23 dB ≤ SNR < 24 dB
49 – When 24 dB ≤ SNR
<NW-provided_eDRX_value>
String. Half a byte in a 4-bit format. The eDRX value refers to bit 4 to 1 of octet 3
of the Extended DRX parameters information element (see subclause 10.5.5.32 in
3GPP TS 24.008).
<Active-Time>
String. One byte in an 8-bit format.
Indicates the Active Time value (T3324) allocated to the device in E-UTRAN. For
the coding and value range, see the GPRS Timer 2 IE in 3GPP TS 24.008 Table
10.5.163/3GPP TS 24.008.
<Periodic-TAU>
String. One byte in an 8-bit format.
Indicates the extended periodic TAU value (T3412) allocated to the device in E-
UTRAN. For the coding and value range, see the GPRS Timer 3 IE in 3GPP TS 24.008
Table 10.5.163a/3GPP TS 24.008.
The following command example reads modem parameters:
AT%XMONITOR
%XMONITOR: 1,"EDAV","EDAV","26295","00B7",7,4,"00011B07",7,2300,63,39,"",
"11100000","11100000"
OK
<+CMEE=[<n>]>
The set command parameters and their defined values are the following:
<n>
0 – Disable and use ERROR instead (default)
1 – Enable +CME ERROR: <err> result code and use numeric <err> values.
<err> values are specified in 3GPP TS 27.007 Ch. 9.2. Vendor-specific values listed in
the command chapters, the value range starts from 512.
The following command example enables error codes in responses:
AT+CMEE=1
OK
+CMEE: <n>
The set command parameters and their defined values are the following:
<n>
0 – Disabled. ERROR used as the final response in case of failure.
1 – Enabled. +CME ERROR: <err> result code and numeric <err> values used.
The following command example reads the current error code setting:
AT+CMEE?
+CMEE: 1
OK
The set command parameters and their defined values are the following:
<n>
0 – Disabled. ERROR used as the final response in case of failure.
1 – Enabled. +CME ERROR: <err> result code and numeric <err> values used.
The following command example returns the supported values:
AT+CMEE=?
+CMEE:(0,1)
OK
+CNEC=[<n>]
The set command parameters and their defined values are the following:
<n>
0 – Disable unsolicited error reporting
8 – Enable unsolicited result code +CNEC_EMM: <error_code>[,<cid>] to
report EPS mobility management errors
16 – Enable unsolicited result code +CNEC_ESM: <error_code>[,<cid>] to
report EPS session management errors
24 – Enable unsolicited result codes for +CNEM_EMM:
<error_code>[,<cid>] and +CNEC_ESM: <error_code>[,<cid>]
<error_code>
3GPP TS 24.301 Table 9.9.3.9.1 for EPS mobility management errors codes
3GPP TS 24.301 Table 9.9.4.4.1 for EPS session management errors codes
<cid>
0 – 11. <cid> is present if <error_code> is related to a specific <cid>.
AT+CNEC=16
OK
The notification example shows EMM Cause 22 (Congestion) received from the network:
+CNEC_EMM: 22
+CNEC: <n>
<n>
0 – Disable
8 – +CNEC_EMM enabled
16 – +CNEC_ESM enabled
24 – +CNEC_EMM and +CNEC_ESM
The following command example reads CNEC error code setting, both CNEC_EMM and CNEC_ESM
enabled.
AT+CNEC?
+CNEC: 24
OK
<n>
0 – Disable
8 – +CNEC_EMM enabled
16 – +CNEC_ESM enabled
24 – +CNEM_EMM and +CNEC_ESM
The following command example returns CNEC error code setting values.
AT+CNEC?
+CNEC: (0,8,16,24)
OK
+CEER
Response syntax:
+CEER: <report>
<report>
String. Information related to the last failure. Contains module information and the
cause value. The module is one of the following values: OTHER, ESM, EMM, PDP,
UICC, SMS.
The following command example reads the latest failure stored by the modem:
AT+CEER
+CEER: "SMS 301"
OK
Note: This command can only be issued by a client registered with +CNMI.
Syntax:
+CMGF=[<mode>]
The set command parameter and its defined values are the following:
<mode>
0 – PDU mode, default value
The following command example sets the message format to PDU mode:
AT+CMFG=0
OK
+CMGF: <mode>
The read command parameter and its defined values are the following:
<mode>
0 – PDU mode
The following command example reads the current message format:
AT+CMGF?
+CMGF: 0
OK
Response syntax:
The test command parameter and its defined values are the following:
<mode>
0 – PDU mode
Example:
AT+CMGF=?
+CMGF: (0)
OK
+CNMI=[<mode>[,<mt>[,<bm>[,<ds>]]]]
The set command parameters and their defined values are the following:
<mode>
0 – Do not forward unsolicited result codes to the TE (default).
3 – Forward unsolicited result codes directly to the TE.
<mt>
0 – No received message notifications, the modem acts as an SMS client. Forces
also <ds> to 0.
2 – SMS-DELIVERs (except class 2 and message waiting indication group)
are routed directly to the TE using unsolicited result code +CMT:
[<alpha>],<length><CR><LF><pdu>. TE needs to ack with +CNMA.
<bm>
Ignored
<ds>
0 – No SMS-STATUS-REPORTs are routed to the TE. The only option if <mt> is set to
0.
1 – SMS-STATUS-REPORTs are routed to the TE using unsolicited result code: +CDS:
<length><CR><LF><pdu>. TE needs to ack with +CNMA.
The TE needs to handle both SMS-DELIVER and SMS-STATUS-REPORT or neither of them, <mt> and <ds>
shall both be set to 0 at the same time, equals to <mode> 0.
The following command example registers as a client for mobile-terminated SMS and status reports:
AT+CNMI=3,2,0,1
OK
+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
The set command parameters and their defined values are the following:
<mode>
0 – Do not forward unsolicited result codes to the TE (default).
3 – Forward unsolicited result codes directly to the TE.
<mt>
0 – No received message notifications, the modem acts as an SMS client.
2 – SMS-DELIVERs (except class 2 and message waiting indication group) are routed
directly to the TE.
<bm>
No CBM notifications are routed to the TE.
<ds>
0 – No SMS-STATUS-REPORTs are routed to the TE.
1 – SMS-STATUS-REPORTs are routed to the TE using unsolicited result code: +CDS:
<length><CR><LF><pdu>.
<bfr>
1 – The buffer of unsolicited result codes is cleared when <mode> 1...3 is entered
Example:
AT+CNMI?
+CNMI: 3,2,0,1,1
OK
Syntax:
+CMGS=<length><CR><pdu><ctrl-Z>
Response syntax:
+CMGS: <mr>[,<ackpdu>]
The command parameters and their defined values are the following:
<length>
Number of octets coded in the transport layer data unit to be given. 1–3 ASCII
digits.
<pdu>
Hexadecimal numbers containing two International Reference Alphabet (IRA)
characters per octet.
<mr>
Message reference value.
<ackpdu>
RP-User-Data element of RP-ACK PDU.
<pdu> is expected to be received in the same command after <CR>. Interactive mode is not supported.
PDU consists of hexadecimal numbers containing two IRA characters per octet.
The following command example sends the message "Testing a SMS messaging over LTE" to
+358401234567, Service Center Address +448888888:
AT+CMGS=42<CR>069144888888F811000C9153481032547600000B20D4F29C9E769F4161
D0BC3D07B5CBF379F89C769F416F7B590E62D3CB<ctrl-z>
+CMGS: 2
OK
Syntax:
+CMT: <alpha>,<length><CR><LF><pdu>
The notification parameters and their defined values are the following:
<alpha>
TP-Originating-Address in string format.
<length>
Number of hexadecimal octets in <pdu>. 1–3 ASCII digits.
<pdu>
Hexadecimal numbers containing two IRA characters per octet.
The example returns a notification of a received message "Testing a sms messaging over lte" from
+358401234567, Service Center Address +44 888 8888:
+CMT: "+358401234567",28<CR><LF>069144888888F8D4F29C9E769F4161D0BC3D07B5CBF379F89C
769F416F7B590E62D3CB
+CDS: <length><CR><LF><pdu>
The notification parameters and their defined values are the following:
<length>
Number of hexadecimal octets in <pdu>. 1–3 ASCII digits.
<pdu>
Hexadecimal numbers containing two IRA characters per octet.
The example returns a delivery status notification with the recipient address, service center timestamp,
and message delivery time:
+CDS: 25<CR><LF>060C91534810325476171160316255001711603152120000
OK
Note:
• This command can only be issued by a client registered with +CNMI.
• After sending cause 22, the %XSMMA command needs to be used when memory is available.
.
If the UE does not get an acknowledgement within the required time (network timeout), the it should
respond as specified in 3GPP TS 24.011, and UE/TA shall automatically disable routing to the TE by setting
both <mt> and <ds> values of +CNMI to zero, that is, the SMS client gets unregistered.
Syntax:
+CNMA[=<n>[,<length>[<CR>PDU is given<ctrl-Z/ESC>]]]
The set command parameters and their defined values are the following:
<n>
0 – The command operates in the same way as defined for the text mode, see New
message ACK, text mode +CNMA on page 117
1 – Send RP-ACK
2 – Send RP-ERROR
<length>
Number of hexadecimal octets in <pdu>. 1–3 ASCII digits.
<pdu>
Hexadecimal numbers containing two IRA characters per octet.
The following command example confirms the reception of a message, timestamp 06/11/2071 13:26:31:
AT+CNMA=1,9<CR>010017116031621300<ctrl-z>
OK
<n>
0 – The command operates in the same way as defined for the text mode.
1 – Send RP-ACK.
2 – Send RP-ERROR.
Example:
AT+CNMA=?
+CNMA: (0-2)
OK
+CNMA
Example:
AT+CNMA
OK
<n>
0 – The command operates in the same way as defined for the text mode.
1 – Send RP-ACK
2 – Send RP-ERROR
Example:
AT+CNMA=?
+CNMA: (0-2)
OK
Note: The modem does not support SMS memory, only direct routing to TE.
Syntax:
+CPMS=<mem1>[,<mem2>[,<mem3>]]
Response syntax:
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
The set command parameters and their defined values are the following:
<mem1>
"MT" – Refers to all message storage areas associated with the modem
<mem2>
"MT" – Refers to all message storage areas associated with the modem
<mem3>
"MT" – Refers to all message storage areas associated with the modem
<usedx>
Integer. The number of messages currently in <memx>
<totalx>
Integer. The number of messages currently in <memx>
Example:
AT+CPMS="MT","MT","MT"
+CPMS: 0,0,0,0,0,0
OK
+CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<used3>,<total3>
The set command parameters and their defined values are the following:
<mem1>
"MT" – Refers to all message storage areas associated with the modem
<mem2>
"MT" – Refers to all message storage areas associated with the modem
<mem3>
"MT" – Refers to all message storage areas associated with the modem
<usedx>
Integer. The number of messages currently in <memx>
<totalx>
Integer. The number of messages currently in <memx>
Example:
AT+CPMS?
+CPMS: "MT",0,0,"MT",0,0,"MT",0,0
OK
The set command parameters and their defined values are the following:
<mem1>
"MT" – Refers to all message storage areas associated with the modem
<mem2>
"MT" – Refers to all message storage areas associated with the modem
<mem3>
"MT" – Refers to all message storage areas associated with the modem
Example:
AT+CPMS=?
+CPMS: ("MT"),("MT"),("MT")
OK
The parameter and the values used by common messaging commands are the following:
<err>
0...127 – 3GPP TS 24.011 clause E.2 values
128...255 – 3GPP TS 23.040 clause 9.2.3.22 values
300...511 – 3GPP TS 27.005 Ch. 3.2.5
512... – Manufacturer specific
513 – Manufacturer-specific cause: Not found
514 – Manufacturer-specific cause: Not allowed
515 – Manufacturer-specific cause: Memory full
+CGSMS=[<service>]
The set command parameter and its defined value is the following:
<service>
1 – Circuit-switched
AT+CGSMS=1
OK
Response syntax:
+CGSMS: <service>
The read command parameter and its defined value is the following:
<service>
1 – Circuit-switched
The following command example reads the current SMS service:
AT+CGSMS?
+CGSMS: 1
OK
The test command parameter and its defined value is the following:
<service>
1 – Circuit-switched
The following command example lists the supported SMS services:
AT+CGSMS=?
+CGSMS: (1)
OK
%XSMMA
The following command example triggers sending the RP-SMMA on the SMS layer to release a memory full
situation and to receive a response:
A successful case:
AT%XSMMA
OK
openssl ecparam -name prime256v1 -genkey -noout -out [private key PEM file]
openssl ec -in [private key PEM file] -out [public key PEM file] -pubout
AT%XPMNG=0,”<public key>”
OK
b) Create a digest file with OpenSSL from AT command that needs authentication:
openssl sha256 -binary [AT command text file] > [digest file]
openssl pkeyutl -sign -in [digest file] -out [signature file] -inkey [private key PEM
file]
For more information on the command, see Authenticated access %XSUDO on page 33.
Cat-M1
LTE-M User Equipment (UE) category with a single RX antenna, specified in 3GPP Release 13.
Cat-NB1
Narrowband Internet of Things (NB-IoT) User Equipment (UE) category with 200 kHz UE bandwidth
and a single RX antenna, specified in 3GPP Release 13.
PS Mode of Operation
A UE mode of operation. The UE registers only to EPS services.
RP-SMMA
A message sent by the User Equipment to relay a notification to the network that the mobile has
memory available to receive one or more short messages.
16-QAM
16-state Quadrature Amplitude Modulation
APN
Access Point Name
BPSK
Binary Phase-Shift Keying
Cat-M1
Cat-NB1
CD
Check Digit
CIDR
Classless Inter-Domain Routing
CS
Circuit-Switched
DER
Distinguished Encoding Rules
DHCP
Dynamic Host Configuration Protocol
DRX
Discontinuous Reception
EARFCN
E-UTRA Absolute Radio Frequency Channel Number
eDRX
Extended Discontinuous Reception
EMM
EPS Mobility Management
EPS
Evolved Packet System
ESN
Electronic Serial Number
E-UTRA
Evolved Universal Terrestrial Radio Access
E-UTRAN
Evolved Terrestrial Radio Access Network
GNSS
Global Navigation Satellite System
GPRS
General Packet Radio Services
IMEI
International Mobile (Station) Equipment Identity
IMEISV
International Mobile (Station) Equipment Identity, Software Version
IMSI
International Mobile Subscriber Identity
IRA
International Reference Alphabet
LNA
Low-Noise Amplifier
MCC
Mobile Country Code
ME
Mobile Equipment
MIPI RFFE
MIPI RF Front-End Control Interface
MNC
Mobile Network Code
MSISDN
Mobile Station International Subscriber Directory Number
MT
Mobile Termination
MTU
Maximum Transmission Unit
NAS
Non-access Stratum
NSLPI
NAS Signalling Low Priority Indication
NVM
Non-volatile Memory
PCO
Protocol Configuration Options
PDP
Packet Data Protocol
PDN
Packet Data Network
PDU
Protocol Data Unit
PEM
Privacy Enhanced Mail
PIN
Personal Identification Number
PKCS
Public Key Cryptography Standards
PLMN
Public Land Mobile Network
PS
Packet-Switched
PSK
Pre-shared Key
PSM
Power Saving Mode
PSP
Paging Time Window
PUK
Personal Unblocking Key
QoS
Quality of Service
QPSK
Quadrature Phase-Shift Keying
RAU
Routing Area Update
RB
Resource Block
RP-ACK
Reply Path Acknowledgement
RP-ERROR
Reply Path Error
RSRP
Reference Signal Received Power
SIM
Subscriber Identity Module
SiP
System in Package
SNR
Serial Number
SNR
Signal-to-Noise Ratio
SVN
Software Version Number
TA
Terminal Adapter
TAC
Tracking Area Code
Type Allocation Code
TAU
Tracking Area Update
TE
Terminal Equipment
UE
User Equipment
UICC
Universal Integrated Circuit Card
USIM
Unique Slave Identifier
USIM
Universal Subscriber Identity Module
Liability disclaimer
Nordic Semiconductor ASA reserves the right to make changes without further notice to the product to
improve reliability, function, or design. Nordic Semiconductor ASA does not assume any liability arising out
of the application or use of any product or circuits described herein.
Nordic Semiconductor ASA does not give any representations or warranties, expressed or implied, as to
the accuracy or completeness of such information and shall have no liability for the consequences of use
of such information. If there are any discrepancies, ambiguities or conflicts in Nordic Semiconductor’s
documentation, the Product Specification prevails.
Nordic Semiconductor ASA reserves the right to make corrections, enhancements, and other changes to
this document without notice.
Trademarks
All trademarks, service marks, trade names, product names, and logos appearing in this documentation
are the property of their respective owners.
Copyright notice
© 2019 Nordic Semiconductor ASA. All rights are reserved. Reproduction in whole or in part is prohibited
without the prior written permission of the copyright holder.