-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Allow runtime config mqtt protocol version (IDFGH-2311) #4448
Comments
The esp-mqtt is in another git tree (https://github.com/espressif/esp-mqtt). |
@AxelLin You can leave the issue here and it will be processed as IDF issue, so closed once the IDF references the esp-mqtt submodule supporting this feature. I think it is a good idea to support runtime selection of mqtt protocol. Thank you for this suggestion! |
Add config option for selecting protocol version at runtime. This also fixed MQTT protocol version 3.1 which wasnt working with the original implementation Closes espressif/esp-idf#4448 Closes IDFGH-2311 Closes IDF-1320
Thank you for adding this feature. |
…le for read as an error (espressif#4448)
The ESP-MQTT supports MQTT protocol 3.1 and MQTT protocol 3.1.1.
But it is decided at compile time by selecting MQTT_PROTOCOL_311 or not.
This is a mqtt clinet implemenation it should allow config using 3.1 or 3.1.1
at runtime because it's not possible to decide if the target mqtt broker support 3.1.1 or not.
Suggest providing API to allow config mqtt protocol version at runtime.
The text was updated successfully, but these errors were encountered: