What is the best way to set an IoT Last Will message on greengrass devices?

0

Given that GreenGrass initiates the mqtt session, and best I can tell there is no way to set a last will message prior to it connecting, what is the best method by which to send or set an LWT message for a device?

gefragt vor einem Jahr237 Aufrufe
1 Antwort
1

Hi,

You cannot configure a will for Greengrass. Why do you want a will to be set? If you'd like to know when Greengrass connects and disconnects you can use IoT lifecycle events for that: https://docs.aws.amazon.com/iot/latest/developerguide/life-cycle-events.html

Cheers,

Michael

AWS
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen