iotcreators.com web
    • Login
    • Search
    • forum.iotcreators.com
    • docs.iotcreators.com
    • Tags
    • Popular
    • Recent
    • Register

    CoAP examples

    iotcreators.com portal & API
    coap simcom at command roadmap
    3
    3
    284
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Eben van Ellewee last edited by Aleksandra Klinkner

      Hi everyone,
      I’ve been trying to figure out how to use CoAP with my SIM7070G.
      The example from the hardware manual looks like this:
      SIM7070_SIM7080_SIM7090 Series_CoAP_Application Note_V1.02.pdf-000349.jpg

      I’ve tried the following but I receive a timeout response:

      AT+CNACT=0,1
      
      OK
      
      +APP PDP: 0,ACTIVE
      
      AT+CCOAPPDPID?
      
      +CCOAPPDPID: 4
      
      OK
      
      AT+CCOAPPDPID=?
      
      +CCOAPPDPID: (0-4)
      
      OK
      
      AT+CCOAPPDPID=0
      
      OK
      
      AT+CCOAPINIT
      
      OK
      
      AT+CCOAPURL="coap://172.27.131.100:5683"
      
      OK
      
      AT+CCOAPPARA="CODE",1,uri-path,0,"home/query",uri-query,0,"address=1",payload,0,"hello world"
      
      OK
      
      AT+CCOAPACTION
      
      +CCOAPACTION: 0,1
      
      OK
      
      
      +CCOAPACTION: 2,1
      
      AT+CCOAPTERM
      
      OK
      

      I think I read somewhere that the SIM needs to be provisioned to use CoAP…
      Is this true or did I just mess up my AT commands?

      Thank you in advance.

      1 Reply Last reply Reply Quote 0
      • Roland Baldin
        Roland Baldin iotcreators.com team last edited by Roland Baldin

        The CoAP stack of the CoAP server is based on Californium version 1 and uses the implemenation as it has been pushed by OceanConnect from Huawei. Although this implementation is not 100% standard compliant there are ublox n211 and quectel bc95 in the market which support this floavor of CoAP

        I checked the AT command guide of the SIM7070G. It looks like only the standard CoAP is supported.

        IoT Creators will provide the standard complient CoAP stack in Q1 2021.

        Hope this helps.

        Regards, Roland

        S 1 Reply Last reply Reply Quote 0
        • S
          Sopwafel @Roland Baldin last edited by

          @Roalnd-Baldin Has this been rolled out already? Do you have any idea when we can expect it? Thanks in advance!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post