nrf9160

Set command

The set command activates or deactivates unsolicited reporting of error codes sent by the network.

Syntax:

+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 Evolved Packet System (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 +CNEC_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–10. <cid> is present if <error_code> is related to a specific <cid>.

The following command example enables CNEC_ESM error codes:

AT+CNEC=16
OK

The following notification example shows EPS Mobility Management (EMM) Cause 22 (Congestion) received from the network:

+CNEC_EMM: 22