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

demandé il y a 4 mois185 vues
1 réponse
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
répondu il y a 4 mois
profile pictureAWS
EXPERT
Greg_B
vérifié il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions