Connect to LTE-M for U-Blox SARA R410


  • Connect to LTE-M

    //First do a reboot
    AT+CFUN=15

    ATE0

    AT+URAT=7

    AT+CEREG=3

    AT+CMEE=2

    //Set APN
    AT+CGDCONT=1,“IP”,“smartsites.t-mobile”

    //Choose Operator
    AT+COPS=1,2,“20416”

    //Show PDP Address
    AT+CGPADDR

    //Check if the device is attached to the network
    AT+CGATT?

    If the response is 1 it means attached
    +CGATT: 1

    //Setup a UDP socket
    AT+NSOCR=“DGRAM”,17,7000,1

    //Send some text data (put your target here)
    AT+NSOST=0,“UDP”,“172.27.131.100”,15683,4,“45726963”

    You have now successfully sent your first UDP message(s)!


 

Looks like your connection to Internet of Things was lost, please wait while we try to reconnect.