At+creg network registration info, At+cops operator selection – Horner APG XLt OCS HE-GSM04 User Manual
Page 45

MAN4005-04-EN
GPRS / GSM MODEM Configuration
PAGE 45
3. AT+CREG Network Registration Info
Command Function
Write command controls the presentation of an unsolicited result code +CREG:
Read command returns the status of result code, which shows whether the network has
currently indicated the registration of the ME.
Command Functional
Group
Network Information
Command Format Query
Response
AT+CREG=?
+CREG: (0,2)
OK
Write Format
Response
AT+CREG=[
OK
Read Format
Response
AT+CREG?
+CREG:
Execution Format
Response
N/A
N/A
Parameter Values
0
disable network registration unsolicited result code
1
enable network registration unsolicited result code +CREG:
2
enable network registration and location information unsolicited result code
+CREG:
0
not registered, ME is not currently searching a new operator to register to
1
registered, home network
2
not registered, but ME is currently searching a new operator to register to
3
registration denied
4
unknown
5
registered, roaming
string type; two-byte location area code in hexadecimal format (e.g. "00C3" equals 195
in decimal)
string type; two-byte cell ID in hexadecimal format
4. AT+COPS Operator Selection
AT+COPS
Operator Selection
Command Function
Write command forces an attempt to select and register the GSM network operator.
is forced by this command to operator
selected (except
further read commands (+COPS?) also.
from the network. The selected mode affects to all further registration (e.g. after
Read command returns the current mode and the currently selected operator. If no
operator is selected,
Test command returns a list of quadruplets, each representing an operator present
in the network. Quadruplet consists of an integer indicating the availability of the
Page 45 of 62 ECN # 956