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 个月前22 查看次数
1 回答
0

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

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则