Skip to main content

uid

Function uid 

Source
pub fn uid() -> [u8; 16]
Expand description

Get this device’s unique 128-bit ID. The datasheet (seems to) specify a 128-bit UID, while the SDK uses 96-bit. We read the full 128 bits to ensure uniqueness. Note that the last 4 bytes of the ID consist of unknown “internal coding” and fixed values.