Hey,
I need to get nano serial number and I’m getting it form
cat /sys/firmware/devicetree/base/serial-number
It basically works fine but sometimes when I boot nano, serial number is quite different.
For example it is usually: 14221190287990408406 but sometimes it is 4084061500000010c475
Could someone tell me why is that and what could I do to avoid this mistake? QR code on nano shows me almost the same what nano usually but it returns only first 13 chars instead of 20 (it’s 1422119028799)
I’m really confused with this situation.
Basically I need to read some number from nano to generate device ID which will be same each time I boot my nano. Where can I find number like this if serial number is not working properly?
Thank you for all advice!