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

Allow configuration of non default port #85

Merged

Conversation

brummer-simon
Copy link
Contributor

This PR adds the possibility to set custom target port numbers deviating from 1883.

@jordens jordens requested a review from ryan-summers April 28, 2022 08:26
@brummer-simon brummer-simon force-pushed the make_broker_port_configurable branch from a89fa5e to 237c09c Compare April 28, 2022 08:32
Copy link
Member

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

Hey, thanks for the PR! This looks wonderful - I hadn't considered using TLS with minimq since none of our network stacks support it, but indeed this library is agnostic to the underlying network stack and could well be used on networks that support TLS.

Can you please add an entry for this in the CHANGELOG.md file?

Other than that, I'd like to add one run-time check when trying to modify the broker port to prevent user foot-guns :)

@brummer-simon
Copy link
Contributor Author

brummer-simon commented Apr 28, 2022

@ryan-summers: I'll add the changes. I don't have a proven Network stack with TLS either, I try to piggy-back TLS ontop of a embedded_hal::TcpClientStack implementation. I am curious if this works.

@brummer-simon brummer-simon force-pushed the make_broker_port_configurable branch from 237c09c to 63921e4 Compare April 28, 2022 09:53
@brummer-simon
Copy link
Contributor Author

@ryan-summers: All requested changes were added.

@brummer-simon brummer-simon force-pushed the make_broker_port_configurable branch from 63921e4 to 99a886e Compare April 28, 2022 09:58
@ryan-summers ryan-summers merged commit 89af607 into quartiq:master Apr 28, 2022
@brummer-simon brummer-simon deleted the make_broker_port_configurable branch April 28, 2022 10:34
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