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 paho_mqtt >= 2.0.0 #561

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Conversation

RichieB2B
Copy link

@RichieB2B RichieB2B commented Feb 20, 2024

Support v2 for the paho_mqtt library, see #560

When paho_mqtt >= 2.0.0 is installed, the client is initialized with mqtt.CallbackAPIVersion.VERSION2. I have updated all on_connect callback functions to support the new format. This is backwards compatible with paho_mqtt < 2.0.0

@RichieB2B RichieB2B force-pushed the paho-mqtt-v2 branch 2 times, most recently from 0aaae95 to 8ffcacb Compare February 21, 2024 07:45
@ngardiner ngardiner merged commit 7d55f32 into ngardiner:main Mar 5, 2024
1 check passed
@RichieB2B RichieB2B deleted the paho-mqtt-v2 branch March 5, 2024 20:39
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.

2 participants