quartiq / minimq

Minimal no_std MQTT v5.0 client implementation
MIT License
144 stars 16 forks source link

Keepalive may not be set properly #69

Closed ryan-summers closed 2 years ago

ryan-summers commented 2 years ago

Currently, setting the keepalive interval via client.set_keepalive() can only be done when in the Active state. This was intended to be any state that is not Active, since we have to send the Keepalive interval as a property in the Connect message.