Greengrassv2 mqtt raw connection - messages I do not understand

0

I am doing some tests performing a connection using a generic mqtt client (mosquitto or paho). I can connect and send message to the AWS IoT Core and receiving them with the Mqtt Test client (WEB). I also receive a bunch of other messages that I do not understand. What is the purpose of those messages? Why I am receiving them? What are they saying?

$aws/things/MyDeviceId/shadow/name/AWSManagedGreengrassV2Deployment/get
{
  "shadowName": "AWSManagedGreengrassV2Deployment",
  "thingName": "MyDeviceId"
}
$aws/things/MyDeviceId-gci/shadow/get
{
  "thingName": "MyDeviceId-gci"
}
$aws/things/MyDeviceId/shadow/name/AWSManagedGreengrassV2Deployment/get/rejected
{
  "code": 404,
  "message": "No shadow exists with name: 'MyDeviceId~AWSManagedGreengrassV2Deployment'"
}
$aws/things/MyDeviceId-gci/shadow/get/rejected
{
  "code": 404,
  "message": "No shadow exists with name: 'MyDeviceId-gci'"
}

Thanks

已提問 4 個月前檢視次數 184 次
1 個回答
2

Hi,

Any MQTT topics that start with $aws/things/thingName/shadow are topics reserved for device shadow

AWSManagedGreengrassV2Deployment is reserved for Greengrass to manage deployments that target individual core devices

AWS
已回答 4 個月前
profile pictureAWS
專家
Greg_B
已審閱 4 個月前

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

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

回答問題指南