ricaun / ArduinoUniqueID

Arduino Library to gets the Manufacture Serial Number from the Atmel AVR, SAM, SAMD, STM32, and ESP Microcontroller.
MIT License
224 stars 50 forks source link

Seem a little mistake with ESP32 C3 #20

Open Skywalkerf34 opened 2 years ago

Skywalkerf34 commented 2 years ago

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 commented 2 years ago

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

https://github.com/ricaun/ArduinoUniqueID/blob/cba84522cfd33302630e781997fb776174cc888c/src/ArduinoUniqueID.cpp#L24-L34

Skywalkerf34 commented 2 years ago

Hi,

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