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

Always assign NodeNum based on MAC address #2567

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Jun 20, 2023

This is step one of trying to fix the infinite loop that happens occasionally. Clients cannot set my_node_num, so this will not break anything.

If it doesn't happen anymore using this, we can fix the call to the random function, but I would rather leave it there now such that it is easier to see if it goes wrong. Otherwise, the device will assign a new NodeNum to itself and other devices will think there is a new node.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2023

🤖 Pull request artifacts

file commit
pr2567-firmware-2.1.17.5168e43.zip 5168e43

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 20, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 20, 2023
@thebentern thebentern merged commit 47168d5 into meshtastic:master Jun 20, 2023
45 checks passed
@GUVWAF GUVWAF deleted the nodeNumFix branch July 28, 2023 17:46
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.

None yet

2 participants