lijian 2be150fe7f 更新节点配置 4 vuotta sitten
..
access.go 15f0f1d381 token 6 vuotta sitten
coap_provider.go 2be150fe7f 更新节点配置 4 vuotta sitten
main.go 15f0f1d381 token 6 vuotta sitten
readme.md 2fcfed35e4 更新coap 6 vuotta sitten

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