how do I change serial number? #7354
Replies: 1 comment
-
Posted at 2020-03-18 by AkosLukacs Altho you didn't say which device you have, but I think it returns the MAC of the device in all cases. Posted at 2020-03-18 by @gfwilliams What device are you using? But I'm afraid not. The serial number is usually based on the underlying hardware, so cannot be changed - that's the whole point. If you want it smaller, use Posted at 2020-03-18 by user109783 I have a STM32F4DISCOVERY board. Yes, I want to have a unique identity whick like MAC ADDRESS in the board, but I don't want to define it in code. I see process.env.SERIAL is a good position to store. Posted at 2020-03-18 by user109783 Thank you, your suggestion is good for me. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-03-18 by user109783
The method getSerial(), I got a serial number is so long, I want to rewrite it with a simple number....
Are there any methods like setSerial() to change it?
Beta Was this translation helpful? Give feedback.
All reactions