|
PebbleOS
|
Microcontroller identification. More...
Functions | |
| StatusCode | mcu_get_serial (void *buf, size_t *buf_sz) |
| Read the microcontroller's unique ID. | |
Microcontroller identification.
| StatusCode mcu_get_serial | ( | void * | buf, |
| size_t * | buf_sz | ||
| ) |
Read the microcontroller's unique ID.
| [out] | buf | Buffer receiving the ID. |
| [in,out] | buf_sz | Size of buf in bytes; set to the ID length on success. |
| S_SUCCESS | ID read. |
| E_OUT_OF_MEMORY | buf is too small. |