device Long Serial Number

Get the long (64-bit) serial number for the board

control.deviceSerialNumber()

The system software in your board creates a unique number to identify the board. You can use this number in your program if you want to know which board is running your program.

Returns

  • a buffer that contains a 64-bit value to uniquely identify this board.

Example

Write the board’s long serial number to the serial port as a Base64 string.

console.log("serialnumber: " + control.deviceLongSerialNumber().toBase64())

See also

device dal version, device serial number