Loading...
Searching...
No Matches
eui_provider_params.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 ML!PA Consulting GmbH
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
20#include "at24mac.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
29static inline int _at24mac_get_eui64(uint8_t index, eui64_t *addr)
30{
31 return at24mac_get_eui64(index, addr);
32}
33
39#define EUI64_PROVIDER_FUNC _at24mac_get_eui64
40#define EUI64_PROVIDER_TYPE NETDEV_AT86RF2XX
41#define EUI64_PROVIDER_INDEX 0
43
44#ifdef __cplusplus
45}
46#endif
47
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