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

MQTTv5 CONNECT and PUBLISH implementation #301

Draft
wants to merge 85 commits into
base: main
Choose a base branch
from

Conversation

Pooja-Toshniwal
Copy link

@Pooja-Toshniwal Pooja-Toshniwal commented Jul 18, 2024

Upgrading the library to support both v3.1.1 and v5.

Description

  • This change adds the implementation of MQTT version 5 CONNECT, CONNACK, DISCONNECT, Outgoing PUBLISH and PUBLISH ACKS. To support the new features, version 5 is introduced.
  • Existing data structures and functions are modified, and some new functions are added to serialize and deserialize the packets.
  • New features will not affect the existing v3.1.1 functionalities as the new code is added with config variable MQTT_VERSION_5_ENABLED, which can be used to enable or disable version 5.
  • For unit testing, the existing folder structure of test is modified to create a separate folder for v5.

Test Steps

  • Unit tests added for all the modified and new functions added in mqttv5.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Pooja-Toshniwal Pooja-Toshniwal changed the title Mqttv5 MQTTv5 CONNECT and PUBLISH implementation Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants