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?

已提問 1 年前檢視次數 237 次
1 個回答
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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南