OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uid_store.h File Reference

Detailed Description

The API to retrieve the device's UID.

Include dependency graph for uid_store.h:

Go to the source code of this file.

Functions

void UIDStore_Init ()
 Initialize the UID store.
 
const uint8_t * UIDStore_GetUID ()
 Get the device's UID. More...
 
void UIDStore_AsAsciiString (char *output)
 Convert the UID to an ASCII string representation, e.g. abcd:01020304. More...
 
void UIDStore_AsUnicodeString (uint16_t *output)
 Convert the UID to a Unicode string representation, e.g. abcd:01020304. More...
 

Function Documentation

void UIDStore_AsAsciiString ( char *  output)

Convert the UID to an ASCII string representation, e.g. abcd:01020304.

Parameters
outputThe location to store the string in, must be at least UID_LENGTH * 2 + 1 characters.
void UIDStore_AsUnicodeString ( uint16_t *  output)

Convert the UID to a Unicode string representation, e.g. abcd:01020304.

Parameters
outputThe location to store the string in, must be at least UID_LENGTH * 2 + 1 characters.
const uint8_t* UIDStore_GetUID ( )

Get the device's UID.

Returns
A pointer to the device's UID