Set command disables or enables the use of final result code +CME ERROR: <err> as an indication of an error relating to the functionality of the MT. When enabled, MT related errors cause +CME ERROR: <err> final result code instead of the regular ERROR final result code. ERROR is returned normally when error is related to syntax, invalid parameters, or TA functionality.
Read command returns the current setting of <n>.
Test command returns values supported as a compound value.
Defined values
<n>
integer type.
0 (default)
disable +CME ERROR: <err> result code and use ERROR instead
1
enable +CME ERROR: <err> result code and use numeric <err> values (refer to clause 9.2)
2
enable +CME ERROR: <err> result code and use verbose <err> values (refer to clause 9.2)
Set command disables or enables the verbose format of unsolicited result code +CMOLRE: <err> as an indication of an error relating to the functionality for the mobile originated location request (MO-LR) error reporting format. When enabled, MT related verbose error cause is given.
Read command returns the current setting of <n>.
Test command returns values supported as a compound value.
Defined values
<n>
integer type.
0 (default)
disable. This will give +CMOLRE: <err> result code with numeric <err> values (refer to clause 9.3)
1
enable. This will give +CMOLRE: <err> result code with verbose <err> values (refer to clause 9.3)
The command activates or deactivates unsolicited reporting of error codes sent by the network. When activated, based on the setting of <n>, the ME will report CS mobility management, GPRS mobility management, GPRS session management, EPS mobility management and EPS session management related error codes sent by the network. The following unsolicited result codes can be reported:
+CNEC_MM: <error_code>
CS Mobility Management
+CNEC_GMM: <error_code>
GPRS Mobility Management
+CNEC_GSM: <error_code>[,<cid>]
GPRS Session Management
+CNEC_EMM: <error_code>[,<cid>]
EPS Mobility Management
+CNEC_ESM: <error_code>[,<cid>]
EPS Session Management
+CNEC_5GMM: <error_code>[,<cid>]
5GS Mobility Management
+CNEC_5GSM: <error_code>[,<cid>]
5GS Session Management
The parameter <n> is specified as a sum of integers, each representing the category of error codes that the MT is interested in receiving.
The read command returns the current setting of <n>.
Test command returns the supported values as a compound value.
Parameters
<n>
integer type. The parameter is a sum of integers each representing a certain category of error codes. The value consists of the sum of the individual values for <n> for the required unsolicited result codes.
0 (default)
Disable unsolicited error reporting
1
Enable unsolicited result code +CNEC_MM to report CS mobility management errors coded as specified in TS 24.008 Table 10.5.95/3GPP TS 24.008
2
Enable unsolicited result code +CNEC_GMM to report GPRS mobility management errors coded as specified in TS 24.008 Table 10.5.147/3GPP TS 24.008
4
Enable unsolicited result code +CNEC_GSM to report GPRS session management errors coded as specified in TS 24.008 Table 10.5.157/3GPP TS 24.008
8
Enable unsolicited result code +CNEC_EMM to report EPS mobility management errors coded as specified in TS 24.301 Table 9.9.3.9.1
16
Enable unsolicited result code +CNEC_ESM to report EPS session management errors coded as specified in TS 24.301 Table 9.9.4.4.1
32
Enable unsolicited result code +CNEC_5GMM to report 5GS mobility management errors coded as specified in TS 24.501 Table 9.11.3.2.1
64
Enable unsolicited result code +CNEC_5GSM to report 5GS session management errors coded as specified in TS 24.501 Table 9.11.4.2.1
Example:
If the MT wants to receive only CS mobility management errors, then <n>=1 must be specified.
AT+CNEC=1
If the MT wants to receive CS mobility management errors and GPRS session management errors, then <n>=5 must be specified (1 for enabling CS mobility management error and 4 for enabling GPRS session management error).
AT+CNEC=5
To enable reporting of all error codes, then <n>=127 must be specified (equals 1+2+4+8+16+32+64).
AT+CNEC=127
<error_code>
integer type. Error codes as appropriate according to:
3GPP TS 24.008 Table 10.5.95/3GPP TS 24.008 for CS mobility management errors codes
3GPP TS 24.008 Table 10.5.147/3GPP TS 24.008 for GPRS mobility management errors codes
3GPP TS 24.008 Table 10.5.157/3GPP TS 24.008 for GPRS session management errors codes
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
3GPP TS 24.501 Table 9.11.3.2.1 for 5GS mobility management errors codes
3GPP TS 24.501 Table 9.11.4.2.1 for 5GS session management errors codes
<cid>
integer type. Specifies a particular PDP context definition.
The operation of +CME ERROR: <err> final result code is similar to the regular ERROR result code: if +CME ERROR: <err> is the result code for any of the commands in a command line, none of the following commands in the same command line is executed (neither ERROR nor OK result code shall be returned as a result of a completed command line execution). The format of <err> can be either numeric or verbose. This is set with command +CMEE (refer to clause 9.1).
<err>
values (numeric format followed by verbose format):
All values below 256 are reserved.
Values in the range 0 - 100 are reserved for general errors.
Values in the range 101 - 150 are reserved for use by CS, GPRS, EPS and 5GS.
Values in the range 151 - 170 are reserved for use by VBS/VGCS and eMLPP.
Values in the range 171 - 256 can be used by GPRS, EPS and 5GS.
The operation of +CMOLRE: <err> unsolicited result code is similar to the regular ERROR result code. The format of <err> can be either numeric or verbose. This is set with command +CMOLRE (refer to clause 9.1A).
<err> values (numeric format followed by verbose format):
An example of TA responses with all three +CMEE values when MT manufacturer identification is requested but MT is not connected to the TA:
AT+CMEE=0 (+CME ERROR shall not be used)
OK
AT+CGMI
ERROR
AT+CMEE=1 (use numeric <err>)
OK
AT+CGMI
+CME ERROR: 1
AT+CMEE=2 (use verbose <err>)
OK
AT+CGMI
+CME ERROR: no connection to phone