MiEcosystem / miot-spec-doc

42 stars 19 forks source link

c2c-demo #7

Closed Mingjun-YANG closed 6 years ago

Mingjun-YANG commented 6 years ago

C2C demo code is added. Document is translated in English.

nicklgw commented 6 years ago

请教一个问题: 例如,一个只有开关属性的灯,

  1. 在设备端定义属性名称为: switch
    2.在云端设备描述使用的是"type": "urn:miot-spec-v2:property:on:00000006:philips-moonlight:1" 3.App端使用https请求 GET /api/v1/properties?pid=AAAD.1.1,AAAD.2.3 其中App和云端通过www.miot-spec.org规范定义,是比较明确的实现对应关系. 请问 设备端属性"switch" 和云端"urn:miot-spec-v2:property:on ....."是 如何对应转换的了?????