From b8147bcba2e8dfef419ba14053285bc9750dc319 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 30 May 2024 22:06:31 +0200 Subject: firmware: Rename from uid64 to eui64 The term EUI-64 is more commonly known (see Wikipedia about MAC addresses [1]). The term UID-64 was introduced because of ST documentation. [1]: https://en.wikipedia.org/wiki/MAC_address --- firmware/src/eui64.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 firmware/src/eui64.h (limited to 'firmware/src/eui64.h') diff --git a/firmware/src/eui64.h b/firmware/src/eui64.h new file mode 100644 index 0000000..b7a8a6f --- /dev/null +++ b/firmware/src/eui64.h @@ -0,0 +1,8 @@ +#include + +/* 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); -- cgit v1.2.3-70-g09d2