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달 전185회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠