zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.14k stars 6.22k forks source link

Support for MQTT 5 #21633

Open nullr0ute opened 4 years ago

nullr0ute commented 4 years ago

Is your feature request related to a problem? Please describe. MQTT v5 is the latest version of the MQTT protocol.

Describe the solution you'd like Adding v5 support to the existing MQTT protocol support so that there is one pub/sub client to support all version of the protocol.

Additional context Version 5 of the MQTT protocol is published by OASIS at the following link: https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html

The Eclipse PAHO project has open source client reference implementations supporting version 5 in a number of languages: http://www.eclipse.org/paho/

carlescufi commented 4 years ago

@rlubos any plans to implement this in the near/mid term?

rlubos commented 4 years ago

@carlescufi Not on my schedule, at least for now. We might consider it though as it seems like a valuable improvement.

Linutux commented 3 years ago

I think MQTT 5 is particularly important for IoT devices, as it has some unique features, like "Maximum message size" or "Negative Acknowledgements", which tell the client why a massage could not be delivered.

Aeted-RC commented 2 years ago

Looking forward to implementing this plan, it is very meaningful

troica65 commented 2 years ago

We are using MQTT client on a LInux system but want to move it to Zephyr in order to reduce COGS and Power consumption. Unfortunately Zephyr does not support 5.0 right now. Any plan for when it will

rlubos commented 2 years ago

As for Nordic, it's not on our schedule (yet), but other contributions are welcome.

plskeggs commented 10 months ago

@rlubos Amazon AWS now supports MQTT 5: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html#mqtt5. The maximum packet size and receive maximum properties of the CONNECT packet are desirable.

tka85 commented 5 months ago

Any upddate on this? Mqtt 5.0 is light years ahead of 3.1.1. They have added significant features that address all of the most common IoT pain points.

rlubos commented 5 months ago

Any upddate on this?

No progress according to my knowledge.

iot-guy-col commented 4 weeks ago

Any update on supporting MQTT 5? Is anyone using 3rd party libraries on Nordic microcontrollers?

rlubos commented 4 weeks ago

Any update on supporting MQTT 5?

No update.