Introduced a config variable MQTT_VERSION_5_ENABLED, which enables the users to use version 5 of MQTT. To support the new properties of connect and connack packet introduced in the version 5, I have modified the existing data structures and functions, and added some new functions. For unit testing I have modified the existing folder structure of test to create a separate folder for v5.
Test Steps
Checklist:
[x] I have tested my changes. No regression in existing tests.
[x] 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.
MQTTV5 Connect and Connack
Description
Introduced a config variable MQTT_VERSION_5_ENABLED, which enables the users to use version 5 of MQTT. To support the new properties of connect and connack packet introduced in the version 5, I have modified the existing data structures and functions, and added some new functions. For unit testing I have modified the existing folder structure of test to create a separate folder for v5.
Test Steps
Checklist:
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.