AWS IoT Core and Fleet Indexing connected:false response

0

Hi,

while I try Fleet Indexing, I found I always get a response of connected:false while the device is connected to the Iot core and publish message to iot core, anyone has faced this, thank you.

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 } } ] }

AWS
質問済み 5年前237ビュー
1回答
1
承認された回答

If your client is using a different client ID from Thing Name when connecting to AWS IoT, the connectivity status of your "thing" will not be indexed by Fleet Indexing.

AWS
エキスパート
回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン