nRF52840 only: Generate a standard USB serial number that is unique for each device. More...
Functions | |
void | app_usbd_serial_num_generate (void) |
Function for generating a default serial number string based on FIRC->DEVICEADDR. More... | |
nRF52840 only: Generate a standard USB serial number that is unique for each device.
void app_usbd_serial_num_generate | ( | void | ) |
Function for generating a default serial number string based on FIRC->DEVICEADDR.
After calling this function, the serial number is ready for the USB driver.
The generated serial number shows up as a 12-hexidecimal-digit string with no delimiters (e.g 123456ABCDEF). The byte string is also printed on the PCA10059 dongle. It is also used as the default advertising address in the SoftDevice.