pxt-calliope/docs/reference/control/device-serial-number.md

11 lines
323 B
Markdown
Raw Permalink Normal View History

2016-07-21 01:25:09 +02:00
# Device Serial Number
2016-07-20 20:31:14 +02:00
2016-07-21 01:25:09 +02:00
Derive a unique, consistent serial number of this device from internal data.
2016-07-20 20:31:14 +02:00
```sig
2016-07-21 22:29:59 +02:00
control.deviceSerialNumber();
2016-07-20 20:31:14 +02:00
```
2016-07-21 22:29:59 +02:00
**This is an advanced API.** For more information, see the
2016-11-02 01:44:37 +01:00
[@boardname@ runtime messageBus documentation](https://lancaster-university.github.io/microbit-docs/ubit/messageBus/).