summaryrefslogtreecommitdiff
path: root/firmware/src/uid64.h
blob: cd3fb13eb288a7dd297c4e2a2286ce9067ad68f9 (plain)
1
2
3
4
5
6
7
8
#include <zephyr/devicetree.h>

/* 2 chars per byte (hex), 1 char per ':' delimiter and one char for \0 */
#define UID64_STR_LEN (8*2 + 7*1 + 1)

uint64_t uid64_get(void);
void uid64_to_string(uint64_t, char *str);
bool uid64_available(void);