Fiware:如何通过IDAS UltraLight创建延迟属性

时间:2016-01-19 11:20:11

标签: agent fiware

我正在使用IoT Agent Ultra-Light模块与Orion上下文代理进行通信。我可以创建服务和设备,我已经检查过观察到了上下文代理。

curl -X POST XXX.XXX.XXX.XXX:8090/iot/services \
-i  \
-H "Content-Type: application/json" \
-H "Fiware-Service: sanitysrv " \
-H "Fiware-ServicePath: / sanitysspath " \
-d '{"services": [{"apikey": "", "cbroker": "http://127.0.0.1:1026", "entity_type": "Dispositivo_tmp", "resource": "/iot/d"}]}'


curl -X POST XXX.XXX.XXX.XXX:8090/iot/devices \
-i  \
-H "Content-Type: application/json" \
-H "Fiware-Service: sanitysrv" \
-H "Fiware-ServicePath: /sanitysspath" \
-d '{"devices":[{"device_id":"CE_BDM_3","protocol":"PDI-IoTA-UltraLight", "commands": [], "attributes": [{"type":"int","name":"temperature","object_id":"t"}]}]}'

我的问题是我不知道如何注册包含惰性属性的设备,我还没有找到任何相关示例的文档。我尝试过的其他物联网代理的示例在这里不起作用。

¿怎么办?

1 个答案:

答案 0 :(得分:1)

到目前为止,UL2.0 / MQTT代理不支持延迟属性,但在使用node.js开发的IoT代理中。

只要此功能可用,我们会立即通知您。

干杯,