summaryrefslogtreecommitdiff
path: root/firmware/src/eui64.h
blob: 9b11c3352470d2535cee1cedd937d63747cbfeb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef EUI64_H
#define EUI64_H

#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 eui64_get(void);
void eui64_to_string(uint64_t, char *str);
bool eui64_available(void);

#endif  // EUI64_H