I’ve been trying to figure out how to use CoAP with my SIM7070G.
The example from the hardware manual looks like this:
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.
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.
@Roalnd-Baldin Has this been rolled out already? Do you have any idea when we can expect it? Thanks in advance!