The read command reads the state.
Response syntax:
+CGATT: <state>
The response parameters and their defined values are the following:
The following command example reads the state in Evolved Packet System (EPS) attach state:
AT+CGATT?
+CGATT: 1
OK