lijian 2be150fe7f 更新节点配置 %!s(int64=4) %!d(string=hai) anos
..
access.go 15f0f1d381 token %!s(int64=6) %!d(string=hai) anos
coap_provider.go 2be150fe7f 更新节点配置 %!s(int64=4) %!d(string=hai) anos
main.go 15f0f1d381 token %!s(int64=6) %!d(string=hai) anos
readme.md 2fcfed35e4 更新coap %!s(int64=6) %!d(string=hai) anos

readme.md

CoAP协议与平台通讯协议对应关系

  • TKL:长度固定为8个字节
  • Token:承载平台通讯协议中的token,用于校验,校验不通过会返回4.01
  • Payload:承载平台通讯协议中的Payload

状态上报

  • URIPath: /s
  • Code: POST
  • Type: CON
  • Payload:依据平台通讯协议打包的二进制内容.

事件上报

  • URIPath: /e
  • Code: POST
  • Type: CON
  • Payload:依据平台通讯协议打包的二进制内容.

命令下发监听(未实现)

  • URIPath: /c
  • Code: GET
  • Type: NON