How to get unique device id?

how to get unique device id use api?

You can get the devide Serial number:

khadas@Khadas:~$ cat /proc/cpuinfo | grep Serial | awk -F ":" '{print $2}'
 290b1000011c0900000237304e424e50
1 Like

Ok, Thank you. @numbqq