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

Seem a little mistake with ESP32 C3 #20

Open
Skywalkerf34 opened this issue May 16, 2022 · 2 comments
Open

Seem a little mistake with ESP32 C3 #20

Skywalkerf34 opened this issue May 16, 2022 · 2 comments

Comments

@Skywalkerf34
Copy link

Hi,

This lib works like a Charm with ESP32 C3 except that all my device's low MAC are minus 1
original MAC is 84:F7:03:3B:49:ED
given Mac by the library is 84:F7:03:3B:49:EC

This is always the same with all my chip

@ricaun
Copy link
Owner

ricaun commented May 18, 2022

The library is using the uint64_t chipid = ESP.getEfuseMac();

#elif defined(ARDUINO_ARCH_ESP32)
uint64_t chipid = ESP.getEfuseMac();
id[0] = 0;
id[1] = 0;
id[2] = chipid;
id[3] = chipid >> 8;
id[4] = chipid >> 16;
id[5] = chipid >> 24;
id[6] = chipid >> 32;
id[7] = chipid >> 40;

@Skywalkerf34
Copy link
Author

Hi,

You are right !
This is the tools I am using on my Android Phone that give this wrong MAC (+1)

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