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?

asked 10 months ago227 views
1 Answer
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
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions