AWS IoT core 和Fleet Indexing 连接:响应失败

0

【以下的问题经过翻译处理】 你好,

在尝试 Fleet Indexing 时,我发现当设备连接到IoT核心并向其发布消息时,总是收到一个 connected:false 的响应。有没有人遇到过这个问题?谢谢。

us-west-2

aws iot describe-index --index-name "AWS_Things" { "indexName": "AWS_Things", "indexStatus": "ACTIVE", "schema": "REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS" }

aws iot search-index --index-name "AWS_Things" --query-string "pm" { "things": [ { "thingName": "pm", "thingId": "{thingId}", "thingTypeName": "demo-iot", "thingGroupNames": [ "test_group" ], "shadow": "{"metadata":{},"version":1}", "connectivity": { "connected": false } } ] }

profile picture
專家
已提問 5 個月前檢視次數 27 次
1 個回答
0

【以下的回答经过翻译处理】 如果您客户端在连接到AWS IoT时使用与Thing Name不同的客户端ID,则“thing”的连接状态不会被Fleet Indexing索引。

profile picture
專家
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南