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

Adding static IP configuration support #240

Merged
merged 8 commits into from
Oct 12, 2022
Merged

Conversation

ryan-summers
Copy link
Member

@ryan-summers ryan-summers commented Oct 12, 2022

This PR updates Booster to support static IP configuration. If the user has an unspecified IP saved, DHCP is used instead.

This PR fixes #239

It also adds gateway settings back to Booster, which may be generally useful for users who have a broker outside of the local network.

For testing, I set the IP to a static address and confirmed that Booster connected to my broker from the static IP address. I then set it to 0.0.0.0 and confirmed that Booster then reconnected from a dynamic DHCP-assigned address.

Copy link
Member

@jordens jordens left a comment

Choose a reason for hiding this comment

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

Minor nit

src/serial_terminal.rs Outdated Show resolved Hide resolved
src/settings/global_settings.rs Outdated Show resolved Hide resolved
src/settings/global_settings.rs Outdated Show resolved Hide resolved
@ryan-summers ryan-summers requested a review from jordens October 12, 2022 11:31
@ryan-summers ryan-summers merged commit 10fa9fd into develop Oct 12, 2022
@ryan-summers ryan-summers deleted the feature/static-ip branch October 12, 2022 12:20
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.

Add support for static IP configuration
2 participants