4 Network Registration
Here below a brief overview of 4G (CAT M1, NB IoT) and 2G (GPRS) registration process, IP
stack setup and related commands.
4G registration (CAT-M1, NB-IoT) and IP stack setup: the module performs Attach and EPS
Bearer activation automatically. When the procedure ends an IP address is assigned by the
network to the module. AT+CEREG can be used to check the EPS network registration status.
AT+CGCONTRDP can be used to check the EPS bearer parameters. AT#SGACT command
has to be used to enable the internal IP stack and IPEasy command set.
2G registration and IP stack setup: the module performs GPRS Attach automatically. You can
check the status of registration using AT+CREG and AT+CGREG commands. To get IP
connectivity the user has to activate a PDP context. In this scenario, AT#SGACT command
performs PDP context activation and IP internal stack enabling. After this step, the module has
an IP address and IPEasy command set can be used. AT+CGCONTRDP can be used to check
the PDP context parameters.
To get IP connectivity, for all access technology, a specific APN configuration is required. We
suggest to carefully check with the Network Provider what’s the proper APN configuration to
be used (context ID, APN name). APN configuration can be set through AT+CGDCONT
command.
4.1 CAT-M1 / NB-IoT Registration AT script
example
The module is turned on, APN on context 1 is required by MNO for registration and data
traffic
AT+CEREG?
+CEREG: 0,2
OK
AT+CGDCONT=1,"IP","nbiot.tids.tim.it"
OK