Arduino Nano 33BLE Sense and Arduino Portenta H7 :
The serial number can be obtained through 3 methods.
Arduino Nano RP2040 :
The serial number can only be obtained through method 1 and 3.
Method 1 :
Initialize the DSpotter SDK in the Arduino IDE, verify and upload the code to the board, and the serial number will be printed out on the console.
Method 2 :
Access the serial number from Arduino IDE, click menu [Tools] > [Get Board Info].
Method 3 :
Query the serial number through the DSpotter API called GetSerialNumber, which returns the serial number string.