NetBurner 3.5.7
PDF Version
UniqueIdentifier Class Reference

Get the 128-bit Unique Identifier. More...

#include <bsp.h>

Public Member Functions

const uint8_t * GetUniqueIdentifier ()
 Will attempt to read the Unique Identifier from flash memory.
 
 UniqueIdentifier ()
 Create a UniqueIdentifier object and read the Unique Identifier from flash memory.
 
const uint8_t * GetBuffer ()
 Get a pointer to the buffer containing the uniqueID.
 
void Print ()
 Print the 128-bit UniqueID in hex to serial.
 
const uint8_t * GetUniqueIdentifier ()
 Will attempt to read the Unique Identifier from flash memory.
 
 UniqueIdentifier ()
 Create a UniqueIdentifier object and read the Unique Identifier from flash memory.
 
const uint8_t * GetBuffer ()
 Get a pointer to the buffer containing the uniqueID.
 
void Print ()
 Print the 128-bit UniqueID in hex to serial.
 

Detailed Description

Get the 128-bit Unique Identifier.

Each MODM7AE70 is programmed with a 128-bit unique identifier in flash memory. This class exposes functions to get the 128-bit unique ID in a 16-byte array of type uint8_t.

Each SBE70LC is programmed with a 128-bit unique identifier in flash memory. This class exposes functions to get the 128-bit unique ID in a 16-byte array of type uint8_t.

Member Function Documentation

◆ GetBuffer() [1/2]

const uint8_t * UniqueIdentifier::GetBuffer ( )
inline

Get a pointer to the buffer containing the uniqueID.

Returns
A pointer to the buffer containing the uniqueID.

◆ GetBuffer() [2/2]

const uint8_t * UniqueIdentifier::GetBuffer ( )
inline

Get a pointer to the buffer containing the uniqueID.

Returns
A pointer to the buffer containing the uniqueID.

◆ GetUniqueIdentifier() [1/2]

const uint8_t * UniqueIdentifier::GetUniqueIdentifier ( )

Will attempt to read the Unique Identifier from flash memory.

Returns
If successful, returns a pointer to the buffer containing the uniqueID. Otherwise, returns a nullptr.

◆ GetUniqueIdentifier() [2/2]

const uint8_t * UniqueIdentifier::GetUniqueIdentifier ( )

Will attempt to read the Unique Identifier from flash memory.

Returns
If successful, returns a pointer to the buffer containing the uniqueID. Otherwise, returns a nullptr.

The documentation for this class was generated from the following files: