<n>:
0: Suppresses the network registration and Provide the result code proactively
(default setting)
1: Allows network registration to proactively provide the result codes
2: Allows network registration to actively provide the location information (CELL ID,
LOCAL ID)
<CR><LF>+CREG: <n>,<stat>[,<lac>,<ci>[,<Act>]]
<CR><LF>OK<CR><LF>
or
<CR><LF>ERROR<CR><LF>
or
<CR><LF>+CME ERROR:<err><CR><LF>
<n>:
0: Suppresses network registration and Provide the result code proactively (default
setting)
1: Allows network registration to proactively provide the result codes
2: Allows network registration to actively provide the location information (CELL ID,
LOCAL ID)
<Stat>:
0: Not registered, the terminal is not currently searching for a new carrier
1: Registered to local network
2: Unregistered, the terminal is searching for the new base station
3: Registration is denied
4: Unknown code
5: Registered, in a roaming state
<lac>: string type; two byte location area code in hexadecimal format
<ci>: string type; four-byte cell ID in hexadecimal format
<Act>:
0: GSM
2: UTRAN