Skip to content
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

MQTT v5 #269

Open
amazonKamath opened this issue Nov 27, 2023 · 6 comments
Open

MQTT v5 #269

amazonKamath opened this issue Nov 27, 2023 · 6 comments
Labels
roadmap An feature currently on the roadmap

Comments

@amazonKamath
Copy link
Member

Provide support for the new MQTT5 connectivity protocol for all FreeRTOS users. MQTT v5 builds on the MQTT v3.1.1 protocol used by most devices to connect to AWS IoT Core but adding a number of new features. While the most prominent features are impacting large (Industrial) IoT devices allowing them to send multi-megabyte messages (not applicable to the typically constrained FreeRTOS MCU based devices), making the protocol integration available future-proofs FreeRTOS and will strengthen the value proposition of both FreeRTOS and IoT products.

@amazonKamath amazonKamath converted this from a draft issue Nov 27, 2023
@paulbartell paulbartell added the roadmap An feature currently on the roadmap label Nov 27, 2023
@jnz86
Copy link

jnz86 commented Jan 6, 2024

The features I would use right away are:

  • Topic aliases, definitely a constrained devices issue. Taken from MQTT-SN, being able to send "1" vs "topic/some/path/12345/" would be nice.

  • Reply to topic, this seems very easy. Just an optional part of the v5 header. Anything towards formalizing request / response is good imo.

  • The proper ACK details and error reports. The v3 connection issues that can appear silently or only report ACK are pretty ridiculous, and should be corrected asap.

@kstribrnAmzn
Copy link
Member

@jnz86 thank you for your comment. Knowing which features are most important will help us prioritize the order we tackle the updates required for MQTTv5.

@amazonKamath amazonKamath moved this from 🔖 Backlog to 🏗 In Progress in Roadmap Jul 22, 2024
@Linuus
Copy link

Linuus commented Jan 8, 2025

Has there been any progress on supporting MQTT v5?

Ah sorry, just found #301

Nice that it's in progress!

@kstribrnAmzn
Copy link
Member

kstribrnAmzn commented Jan 8, 2025

@Linuus the pull request you linked comes from a community contributor (we very much value those) an summer intern we had (we also very much value those). The current FreeRTOS team (who maintains this project) has not yet begun working on this feature since our interns work.

Update: Turns out this was our intern under @amazonKamath.

@amazonKamath
Copy link
Member Author

amazonKamath commented Jan 9, 2025

@Linuus #301 has some features missing and not production ready. We plan
to start working on top of this PR and intend to get mainlined by late Q2. It would be great if you are willing to test PR 301 in its current state and provide feedback. We can share a demo code if you are interested. Thanks.

@amazonKamath
Copy link
Member Author

Here is the MQTTv5 demo https://github.com/Pooja-Toshniwal/FreeRTOS/tree/main/FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTTV5_Plain_Text. Please note, this is still early days for the demo and might have quality issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap An feature currently on the roadmap
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

5 participants