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

ESP32 mesh nodes have identical mesh id #83

Open
eporocrail opened this issue May 6, 2021 · 1 comment
Open

ESP32 mesh nodes have identical mesh id #83

eporocrail opened this issue May 6, 2021 · 1 comment

Comments

@eporocrail
Copy link

eporocrail commented May 6, 2021

The ESP8266 and the ESP32 have a "unique" MAC address. It consists of six byte in HEX format.
With the ESP8266 the mesh id is created taking the RIGHT six characters of the twelve of the MAC address.
With the ESP32 the mesh id is created from the LEFT most eight characters of the twelve of the MAC address.

Assuming that the left byte is the most significant byte of the MAC address the possibility that in a mesh nodes have the same mesh id is with the ESP32 much higher than with the ESP8266.

And I do have ESP32 nodes with the same id.
Please apply the same algorithm to create the mesh id for the ESP32 as for the ESP8266 module.

@alexmogavero
Copy link
Collaborator

I have added a walk around to this issue in my pull request #84 it is a method to set the id manually

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

No branches or pull requests

2 participants