Is there a way to grab a serial number or UID from the Tx2 module via a c++ or python application? Are there register files or library apis that one could call? If not I can likely just use the MAC of the wifi or Ethernet modules.
Module ID should be here:
nvidia@nvidia-desktop:~$ xxd /proc/device-tree/serial-number
00000000: 3034 3234 3231 3830 3332 3038 3700 0424218032087.
Can I assume /proc/device-tree/serial-number is readable as a string consists of 13 digits?
If you are using on same platform (e.g all TX2), then I think the answer is yes.
Never mind. These are set by jetson-stats I installed.
I see these environment variables are set in a shell. Can someone tell me where they are set?:
JETSON_DESCRIPTION=NVIDIA Jetson TX2
Sorry that we don’t know what is that tool and don’t know how does it parse the info.
You could check the release information in below node.
nvidia@nvidia-desktop:~$ cat /etc/nv_tegra_release
This is the tool I installed:
I know it’s not a nvidia provided tool.
I wrongly assumed the env vars were set by the system by default, but they were actually set by the tool I installed.