Hardware ID

The hardware ID library provides a simple interface to retrieve a unique hardware ID. You can retrieve the hardware ID by calling the hw_id_get() function.

The Hardware ID sample uses this library.

Configuration

To enable the library, set the CONFIG_HW_ID_LIBRARY Kconfig option to y in the project configuration file prj.conf.

You can configure one of the following Kconfig options to choose the hardware ID:

API documentation

Header file: include/hw_id.h
Source files: lib/hw_id/
Device ID Library