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

preguntada hace 4 meses185 visualizaciones
1 Respuesta
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
respondido hace 4 meses
profile pictureAWS
EXPERTO
Greg_B
revisado hace 4 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