nrf9160

Set command

The set command attaches the User Equipment (UE) to or detaches the UE from the Packet Domain services.

Note: The UE performs an attach automatically when activated. In normal operation there is no need to issue the +CGATT command.

Syntax:

+CGATT=<state>
+CME ERROR code
517 – Modem not activated.

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

<state>
0 – Detached
1 – Attached

The following command example performs an Evolved Packet System (EPS) attach:

AT+CGATT=1
OK