The set command subscribes unsolicited network status notifications.
Syntax:
+CEREG=<n>
The set command parameter and its defined values are the following:
- <n>
- 0 – Unsubscribe unsolicited result codes
For the notification syntax parameters, see Read command.
The following command example subscribes notifications with level 2:
AT+CEREG=2
OK
Unsolicited notification level 1, trying to attach:
+CEREG: 2
Unsolicited notification level 2, registered:
+CEREG: 1,"002F","0012BEEF",7