1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 11:33:51 +01:00
RIOT/boards/common/native/include/eui_provider_params.h
2025-07-18 14:23:37 +02:00

40 lines
726 B
C

/*
* SPDX-FileCopyrightText: 2020 ML!PA Consulting GmbH
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @ingroup boards_common_native
* @{
*
* @file
* @brief EUI providers found on the board
*
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#include "native_cli_eui_provider.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name EUI sources on the board
* EUI-64 can be provided with the -Z command line argument
* @{
*/
#define EUI64_PROVIDER_FUNC native_cli_get_eui64
#ifndef EUI64_PROVIDER_TYPE
#define EUI64_PROVIDER_TYPE NETDEV_SOCKET_ZEP
#endif
#define EUI64_PROVIDER_INDEX NETDEV_INDEX_ANY
/** @} */
#ifdef __cplusplus
}
#endif
/** @} */