Are You Currently Working On An IoT/M2M Project?
Request a free 1-month trial !!! SIM card provided with access to 2G/3G Data, SMS and USSD.Platform for real-time monitoring.Global cellular network across 190 countries, 440 networks.
First Name*       Country*    
Last Name*        Company*  
Email*               Phone*        
                      (Please enter business email address)     Purpose*    

AT Command

Description

AT+CREG AT command gives information about the registration status and access technology of the serving cell.

Possible values of registration status are,
0 not registered, MT is not currently searching a new operator to register to
1 registered, home network
2 not registered, but MT is currently searching a new operator to register to
3 registration denied
4 unknown (e.g. out of GERAN/UTRAN/E-UTRAN coverage)
5 registered, roaming
6 registered for "SMS only", home network (applicable only when indicates E-UTRAN)
7 registered for "SMS only", roaming (applicable only when indicates E-UTRAN)
8 attached for emergency bearer services only (see NOTE 2) (not applicable)
9 registered for "CSFB not preferred", home network (applicable only when indicates E-UTRAN)
10 registered for "CSFB not preferred", roaming (applicable only when indicates E-UTRAN)

Possible values for access technology are,
0 GSM
1 GSM Compact
2 UTRAN
3 GSM w/EGPRS
4 UTRAN w/HSDPA
5 UTRAN w/HSUPA
6 UTRAN w/HSDPA and HSUPA
7 E-UTRAN


Support

Module Tutorial

Examples

//enable +CREG: unsolicited result code
AT+CREG=1
OK

//MT is registered in home PLMN
AT+CREG?
+CREG: 1,1
OK

//Registration is denied
AT+CREG?
+CREG: 3,1
OK

//MT is registered in home PLMN
AT+CREG?
+CREG: 1,1
OK

//Registered for SMS only
AT+CREG?
+CREG: 6,1
OK

KeywordsAT+CREG syntax, examples, parameters, error, input, response.
Try this script included in AT Command Tester Tool.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//Script-at_creg.at

//Test AT+CREG AT command

//AT+CREG returns network registration status of device

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

//List of supported write values for AT+CREG

AT+CREG=?

 

//Get current registration status

//If there is any error, CME error code is returned

AT+CREG?

 

//Configure to return unsolicited result code when network registration

//is disabled

AT+CREG=0

 

//Configure to return unsolicited result code  with when network registration is enabled

AT+CREG=1

 

//Configure to return unsolicited result code when there is change in

//network registration status or change of network cell

AT+CREG=2

 

 

 


Output of above script in AT Command Tester Tool.

AT+CREG=?

+CREG: (0-2)

 

OK

AT+CREG?

+CREG: 2,1,"008E","CE87"

 

OK

The device is registered in home network.

 

AT+CREG=0

OK

AT+CREG=1

OK

AT+CREG=2

OK


Device registration is required before establishing a data or voice call. Once the device powers up, it will automatically scan and aquire a network operator based on the SIM. Then it will will perform a registration. If teh device is unable to acquire a network operator, the device cannot be registered and so voice or data call cannot be made.

With Online AT Command Tester tool, you can easily check the registration status of the device in the ‘Diagnostic Tab’

You can also send the AT command under the ‘Command Mode’ tab,

Check the registration status before before setting up voice or data call. With AT Command Tester, you can also send batch of AT commands,