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

Switch to actually maintained thingsboard pubsubclient #5204

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

thebentern
Copy link
Contributor

Our MQTT library of choice is without a maintainer and hasn't been updated in 4 years. Pretty depressing thread:
knolleary/pubsubclient#1045

Thingsboard has taken up the most involved fork of this and seems to have already integrated some good changes, even as recent as 2 weeks ago.

@thebentern thebentern requested a review from caveman99 October 31, 2024 10:53
@thebentern
Copy link
Contributor Author

Did not work out of the box. Marking as draft :-(

@thebentern thebentern marked this pull request as draft November 1, 2024 15:13
@fifieldt
Copy link
Contributor

fifieldt commented Nov 2, 2024

I read the background and it does look like this is the one to move to

Copy link
Member

@caveman99 caveman99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move forward with this and make it work :-)

@caveman99 caveman99 added the pinned Exclude from stale processing label Nov 2, 2024
@fifieldt fifieldt marked this pull request as ready for review December 21, 2024 02:55
@esev
Copy link
Contributor

esev commented Jan 3, 2025

https://github.com/thingsboard/pubsubclient/releases/tag/v2.11.0 fixed an issue with sending the credentials in the initial connection. Maybe this works now? It passed all the unit tests from #5724 and seems to be working on my heltec-v3 with my local MQTT server.

I'll send them a PR and see if we can make some of the methods virtual, for use in those tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned Exclude from stale processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants