SIMcom7070G PING working code



  • Hi,

    A few days ago, I purchased two development boards. One of them is featuring the SIMcom7070G.

    My location is Germany, I am using a SIM from the Netherlands with Roaming enabled.

    I have not yet managed to send a message through but I can PING 172.27.131.100 - I hope that this module is compatible as it is not one of the recommended or approved one’s.

    Here are the commands for a successful PING: (Some are probably redundant)

    AT+CPIN?
    +CPIN: READY

    OK
    AT+CSQ
    +CSQ: 9,99

    OK
    AT+CGATT?
    +CGATT: 1

    OK
    AT+COPS?
    +COPS: 1,0,“Telekom.de”,9

    OK
    AT+CGNAPN
    +CGNAPN: 1,“cdp.iot.t-mobile.nl”

    OK
    AT+CNCFG=0,1,“cdp.iot.t-mobile.nl”
    OK
    AT+CNACT=0,1
    OK

    +APP PDP: 0,ACTIVE
    AT+CNACT?
    +CNACT: 0,1,“10.0.2.13”
    +CNACT: 1,0,“0.0.0.0”
    +CNACT: 2,0,“0.0.0.0”
    +CNACT: 3,0,“0.0.0.0”

    OK
    AT+CAOPEN=0,0,“UDP”,“172.27.131.100”,15683
    +CAOPEN: 0,0

    OK
    AT+SNPDPID=?
    +SNPDPID: (0-4)

    OK
    AT+SNPDPID=0
    OK
    AT+SNPING4=“172.27.131.100”, 5, 1, 20000
    +SNPING4: 1,172.27.131.100,2577
    +SNPING4: 2,172.27.131.100,367
    +SNPING4: 3,172.27.131.100,279
    +SNPING4: 4,172.27.131.100,292
    +SNPING4: 5,172.27.131.100,311

    OK


  • Deutsche Telekom IoT

    Hi Daniel,

    many thangs for this sample code!

    Probably my hint comes to late and you did it anyway, but don‘t forget to register your device at IoT Creators portal before you send your first message 😏

    Regards, Roland


Log in to reply