eui_provider_params.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2020 ML!PA Consulting GmbH
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
17 #include "at24mac.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
26 static inline int _at24mac_get_eui64(uint8_t index, eui64_t *addr)
27 {
28  return at24mac_get_eui64(index, addr);
29 }
30 
36 #define EUI64_PROVIDER_FUNC _at24mac_get_eui64
37 #define EUI64_PROVIDER_TYPE NETDEV_AT86RF2XX
38 #define EUI64_PROVIDER_INDEX 0
41 #ifdef __cplusplus
42 }
43 #endif
44 
static int _at24mac_get_eui64(uint8_t index, eui64_t *addr)
AT24Mac provides a EUI-64, this is also printed on the board.
int at24mac_get_eui64(at24mac_t dev, eui64_t *addr)
Get the unique EUI64 address from a AT24MAC6xx chip.
Data type to represent an EUI-64.
Definition: eui64.h:55