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

Fix static ethernet config #2544

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

micheljung
Copy link
Contributor

With static ethernet config, status stayed 0 which let the function return without setting ethEvent. Therefore, reconnectETH was never called and network services were never started.

Fixes #2543

@garthvh garthvh requested a review from caveman99 June 6, 2023 16:37
@micheljung micheljung marked this pull request as draft June 6, 2023 16:38
@micheljung
Copy link
Contributor Author

Seems like there are more issues, I'll report back when I successfully tested it.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

🤖 Pull request artifacts

file commit
pr2544-firmware-2.1.16.3615639.zip 3615639

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 6, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 6, 2023
@micheljung micheljung marked this pull request as ready for review June 6, 2023 19:10
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 6, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 6, 2023
With static ethernet config, `status` stayed `0` which let the function return
without setting `ethEvent`. Therefore, `reconnectETH` was never called and network services were never started.

Also, the RAK4631 uses little endian, which is why the IP addresses need to be
converted before setting them.

Fixes meshtastic#2543
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 6, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 6, 2023
@thebentern thebentern merged commit 194833d into meshtastic:master Jun 7, 2023
45 checks passed
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.

[Bug]: Static IP configuration doesn't work
2 participants