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

Support for MQTT v5.x #267

Open
srnae05 opened this issue Nov 13, 2023 · 3 comments
Open

Support for MQTT v5.x #267

srnae05 opened this issue Nov 13, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@srnae05
Copy link

srnae05 commented Nov 13, 2023

The AWS MQTT broker supports MQTT v5.x. To make the most out of integration of devices to AWS MQTT broker using MQTT v5.x, the coreMQTT library needs an update as it currently is compliant to MQTT v3.x
Could this update be considered ?

Thank you.

@cookpate cookpate added the enhancement New feature or request label Nov 13, 2023
@cookpate
Copy link
Member

MQTT 5 is on our roadmap; however, we don't think anybody is working on it right now.
We would be grateful for any contributions made to accelerate its delivery.

@cookpate cookpate added the help wanted Extra attention is needed label Nov 21, 2023
@jnz86
Copy link

jnz86 commented Jan 6, 2024

Checking in and interested. None of the features look all too difficult. But... Without pointing fingers, a lot of the CoreMQTT code is written in a fairly complex way and I suspect almost no one is going to tackle this on their own.

If someone at Amazon were to scaffold out the required hooks, it seems much more likely for independent contributors to jump in.

@amazonKamath
Copy link
Member

@srnae05 @jnz86 we started working on MQTTv5. Here is the draft PR #301. It is not ready yet, and only supports connect, publish and disconnect. Subscribe is not implemented. It would be great if you can help test it out for your use cases and give us some feedback? Thank you.

vishwamartur added a commit to vishwamartur/coreMQTT that referenced this issue Oct 31, 2024
Related to FreeRTOS#267

Add support for MQTT v5.x to the coreMQTT library.

* **manifest.yml**
  - Update `version` to "v5.0.0+".
  - Update `description` to include MQTT v5.0 support.

* **source/core_mqtt_serializer.c**
  - Add definition for MQTT protocol version 5.0.
  - Implement serialization and deserialization for MQTT v5.x packets.
  - Add handling for MQTT v5.x properties in `serializeConnectPacket`.

* **source/include/core_mqtt_config_defaults.h**
  - Add configuration option for enabling MQTT v5.x support.
  - Define `MQTT_VERSION_5_ENABLED` macro.

* **source/include/transport_interface.h**
  - Add support for MQTT v5.x in transport interface.
  - Update `TransportInterface_t` to handle MQTT v5.x packets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants