Page 1 of 1

esp-mqtt: mqtt protocol version should be run-time configurable

Posted: Thu Nov 22, 2018 3:46 am
by axellin
Hi,

Current implementation uses CONFIG_MQTT_PROTOCOL_311 setting to decide mqtt
protocol version. However, as a mqtt client, it needs to support different
versions because we don't know which version is used (or supported) by the broker.

Would you consider to make it run-time configurable rather than decide by compile time?