quartiq / minimq

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

Respect server maximum packet size #134

Closed ryan-summers closed 1 year ago

ryan-summers commented 1 year ago

Currently, we ignore the server-specified maximum packet size. We need to respect this value and not send any packets that are too large.

ryan-summers commented 1 year ago

After discussion in #137. it was decided that we'll ignore this parameter and let the server disconnect us if we send a message that's too large. In these cases, there's likely little action that can be taken by the client without a rewrite.