The test command returns a list of supported modes as a compound value.
Response syntax:
+CEREG: (supported modes)
The test command parameter and its defined values are the following:
- <n>
- 0 – Unsubscribe unsolicited result codes
- 1 – Subscribe unsolicited result codes
+CEREG:<stat>
- 2 – Subscribe unsolicited result codes
+CEREG:<stat>[,<tac>,<ci>,<AcT>]
- 3 – Subscribe unsolicited result codes
+CEREG:<stat>[,<tac>,<ci>,<AcT>[,<cause_type>,<reject_cause>]]
- 4 – Subscribe unsolicited result codes
+CEREG:
<stat>[,[<tac>],[<ci>],[<AcT>][,,[,[<Active-Time>],[<Periodic-TAU-ext>]]]]
- 5 – Subscribe unsolicited result codes
+CEREG:
<stat>[,[<tac>],[<ci>],[<AcT>][,[<cause_type>],[<reject_cause>][,[<Active-Time>],[<Periodic-TAU-ext>]]]]
The following command example shows supported unsolicited results codes:
AT+CEREG=?
+CEREG: (0-5)
OK