quartiq / minimq

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

Respect server "Maximum QoS" #136

Closed ryan-summers closed 1 year ago

ryan-summers commented 1 year ago

"The server may indicate a maximum QoS that it supports. We should respect this value and never transmit at an excessive QoS

ryan-summers commented 1 year ago

After discussion in https://github.com/quartiq/minimq/issues/137, it was noted that we may want an "opt-in" feature where the client will auto-downgrade QoS messages that the server does not support. This would allow applications that don't necessarily care about high QoS levels to allow their messages to be downgraded by minimq before transmission.