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

axellin
Posts: 199
Joined: Mon Sep 17, 2018 9:09 am

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

Postby axellin » Thu Nov 22, 2018 3:46 am

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?

Who is online

Users browsing this forum: Google [Bot] and 114 guests