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

Enable secure MQTT support by parameterising the port number #2

Merged
merged 3 commits into from
Dec 10, 2020

Conversation

amalabey
Copy link
Contributor

@amalabey amalabey commented Dec 5, 2020

Current implementation of the library assumes 1883 port number. This blocks library consumers from using secure mqtt which uses port 8883. This PR addresses this issue by:

  • Add connect() overloads that accept port number as a parameter
  • Add an example that demonstrates secure mqtt usage

@elpinjo elpinjo merged commit ae91ac4 into elpinjo:master Dec 10, 2020
@elpinjo
Copy link
Owner

elpinjo commented Dec 10, 2020

Thanks for helping out improving the library!

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