Closed sa-wilson closed 3 years ago
Rebased onto current master (post-rename) and forced pushed.
I'm closing this issue. I believe https://www.chirpstack.io/gateway-bridge/changelog/#v3110 does cover the use-case with the connection-state message, which uses both LWT and the state of the [GW] > [GW Bridge] connection.
Closes #117
Add config options for the Generic MQTT integration to register an LWT message with the broker.
I used the
SetWill
function with a string payload rather than theSetBinaryWill
as suggested in the original issue as I figured it would be more useful for the majority of users (who would probably just want to send some JSON or something anyway), and easier to use than having to configure a byte array in the config file.