nrf9160

Set command

The set command subscribes and configures unsolicited result code notifications.

Syntax:

+CSCON=[<n>]

The set command parameter and its defined values are the following:

<n>
0 – Unsubscribe unsolicited indications
1 – Subscribe <mode>
2 – Subscribe <mode>[,<state>]
3 – Subscribe <mode>[,<state>[,<access>]]

Notification syntax:

+CSCON: <mode>[,<state>[,<access]]

The response parameters and their defined values are the following:

<mode>
0 – Idle
1 – Connected
<state>
7 – Evolved Terrestrial Radio Access Network (E-UTRAN) connected
<access>
4 – Radio access of type E-UTRAN FDD

The following command example enables level 3 indications:

AT+CSCON=3
OK

The following is an example of a level-3-related unsolicited indication:

+CSCON: 1,7,4