-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Upgrade MQTT Demos to support v5 features #1354
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
base: main
Are you sure you want to change the base?
Conversation
|
As all these demos initially were written to work with MQTTv3, neither of these support processing an incoming disconnect packet in their event callback. We should add that handler as well in all the demos. This would also be an addition to the migration guide for the new version of the coreMQTT library. |
DakshitBabbar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @adituc for these changes. I have added some comments. Please have a look at them.
FreeRTOS-Plus/VisualStudio_StaticProjects/corePKCS11/corePKCS11.vcxproj
Outdated
Show resolved
Hide resolved
FreeRTOS-Plus/VisualStudio_StaticProjects/MbedTLS/MbedTLS.vcxproj
Outdated
Show resolved
Hide resolved
FreeRTOS-Plus/VisualStudio_StaticProjects/Logging/Logging.vcxproj
Outdated
Show resolved
Hide resolved
FreeRTOS-Plus/VisualStudio_StaticProjects/FreeRTOS-Kernel/FreeRTOSConfig.h
Outdated
Show resolved
Hide resolved
FreeRTOS-Plus/VisualStudio_StaticProjects/FreeRTOS-Kernel/FreeRTOS-Kernel.vcxproj
Outdated
Show resolved
Hide resolved
FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Basic_TLS/MQTT_Basic_TLS.vcxproj
Outdated
Show resolved
Hide resolved
FreeRTOS-Plus/Demo/AWS/Jobs_Windows_Simulator/Jobs_Demo/Jobs_Demo.vcxproj
Show resolved
Hide resolved
...-Plus/Demo/AWS/Fleet_Provisioning_Windows_Simulator/CSR_Demo/fleet_provisioning_demo.vcxproj
Show resolved
Hide resolved
...-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/Device_Shadow_Demo.vcxproj
Show resolved
Hide resolved
...Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/Device_Defender_Demo.vcxproj
Show resolved
Hide resolved
|
The function |
|
Upgrading MQTT Library to support v5 features
Description
This PR adds a demo application to showcase MQTT version 5.0 functionality using the coreMQTT library. It demonstrates establishing a connection with a broker, subscribing to a topic, publishing a message, receiving Incoming publishes, unsubscribing from a topic, and finally disconnecting.
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.