gateway
gateway copied to clipboard
Broker compatibility: add option for brokers not 100% mqtt compliant
Some brokers (like AWS iot core) do not support qos=2 or retain messages. Add option to transport to specify the max qos value to use and also if the retain flag is supported by broker.
In case of retain flag, behavior of transport is a bit different.