簡體   English   中英

Fiware:如何通過IDAS UltraLight創建惰性屬性

[英]Fiware: How to create lazy attributes through IDAS UltraLight

我正在使用IoT Agent超輕模塊與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"}]}]}'

我的問題是我不知道如何注冊包含懶惰屬性的設備,而且還沒有找到帶有相關示例的文檔。 我嘗試過的其他物聯網代理的示例在這里不起作用。

如何做呢?

到目前為止,UL2.0 / MQTT代理中不支持惰性屬性,但使用node.js開發的IoT代理中不支持惰性屬性。

該功能可用后,我們會立即通知您。

干杯,

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM