nrf9160

Read command

The read command reads the state.

Response syntax:

+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 Evolved Packet System (EPS) attach state:

AT+CGATT?
+CGATT: 1
OK