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?

preguntada hace un año237 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un año

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