ricaun / ArduinoUniqueID

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

Add processor type information to ID #15

Closed RobTillaart closed 1 year ago

RobTillaart commented 2 years ago

Nice useful library. Had a quick look at the code and noticed that you can have the same deviceID for different device types. By adding type information - could be an enum of supported types - the uniqueness can be multi processor.

reserving 2 bytes for the type would allow you to add a new device type every day for 160-180 years

RobTillaart commented 1 year ago

Not relevant anymore for me.