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
EXPERTO
preguntada hace 5 meses27 visualizaciones
1 Respuesta
0

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

profile picture
EXPERTO
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas