Skip to content

Conversation

@sauk2
Copy link
Member

@sauk2 sauk2 commented Dec 10, 2025

Summary

This PR adds 2 new methods to the MQTT interface and modifies an existing method. It also updates the Paho client and unit tests to reflect the changes.

New methods added,

  • connected() - Check MQTT connection status
  • set_will(...) - Set a last will message that will be sent when the client disconnects abruptly

Existing methods updated,

  • publish(...) - A new boolean flag has been added to allow users to indicate if this message should be retained in the broker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant