5 Network Connectivity A T Commands

Baud Rate Setup

    ---> AT+IPR=4800        //This step is crucial for fresh SIM7000 boards, By default they are set to 0 baud
    <--- OK        

AT Commands of different Connections

Connect to Dialog GSM

    ---> AT+CMNB=13     //Connect to GSM  Band
    <--- OK
    ---> AT+CFUN=1,1    //Reset module & setup serial connection again 
    <--- OK
    ---> AT+CREG?          
    <--- +CREG: 0,1     //1 denotes registered to network, 2 means not registered  but searching for operator
    --> AT+COPS?
    <--- +COPS: 0,0,"413 02 Dialog",0   // last digit 0 denotes connected to GSM 

Connect to Dialog NBIOT

     ---> AT+CNMP=38     //Enable LTE
    <--- OK
    ---> AT+CMNB=2      //select NBIOT mode
    <--- OK
    ---> AT+NBSC=1      // enable scrambling feature
    <--- OK
    ---> AT+CFUN=1,1    //reset module & setup serial connection again 
    <--- OK
    ---> AT+CREG?          
    <--- +CREG: 0,1       //1 denotes registered to network, 2 means not registered but searching for operator
    --> AT+COPS?
    <--- +COPS: 0,0,"413 02 Dialog”,9            // last digit 0 denotes connected to GSM 

Now setup GPRS

    ---> AT+CIPSHUT  // Disabling GPRS
    <--- SHUT OK
    ---> AT+CGATT=0
    <--- OK
    ---> AT+CGATT=1
    <--- OK
    ---> AT+SAPBR=3,1,"CONTYPE","GPRS"
    <--- OK
    ---> AT+SAPBR=3,1,"APN","dialogbb"          // APN must be ‘dialogbb’ (check with provider if unsuccessful)
    <--- OK
    ---> AT+CSTT="dialogbb","",""
    <--- OK
    ---> AT+SAPBR=3,1,"USER",""
    <--- OK
    ---> AT+SAPBR=3,1,"PWD",""
    <--- OK
    ---> AT+SAPBR=1,1       //Open bearer
    <--- OK                 //Check the APN with provider If the last command above gives an error               
    ---> AT+CIICR  
    <--- OK
    ---> AT+CIFSR           //gets local IP address assigned by GPRS
    <--- OK
    ---> AT+CIPSTATUS
    <--- OK
    <--- STATE: IP GPRSACT  //means GPRS is in active state 😊

Connect to Dialog eMTC(CAT-M)

    ---> AT+CNMP=38         //Enable LTE
    <--- OK
    ---> AT+CMNB=1          //select CAT-M mode
    <--- OK
---> AT+CFUN=1,1        //reset module & setup serial connection again  
    <--- OK
    ---> AT+CREG?          
    <--- +CREG: 0,1         //1 denotes registered to network, 2 means not registered but searching for operator
    --> AT+COPS?
    <--- +COPS: 0,0,"413 02 Dialog",0       // last digit 0 denotes connected to GSM 

Connect to Dialog NBIOT/eMTC(CAT-M)

    ---> AT+CNMP=38         //Enable LTE
    <--- OK
    ---> AT+CMNB=3          //select NBIOT/CAT-M mode
    <--- OK
    ---> AT+NBSC=1          // enable scrambling feature
    <--- OK
    ---> AT+CFUN=1,1      //reset module & setup serial connection again  (This step is optional)
    <--- OK
    ---> AT+CREG?          
    <--- +CREG: 0,1         //1 denotes registered to network, 2 means not registered but searching for operator
    --> AT+COPS?
    <--- +COPS: 0,0,"413 02 Dialog",0            // last digit 0 denotes connected to GSM
Last updated on 17th Mar 2018