Loading...
Searching...
No Matches
eui_provider_params.h File Reference

EUI providers found on the board. More...

Detailed Description

EUI providers found on the board.

Author
Alexander Chudov chudo.nosp@m.v@gm.nosp@m.ail.c.nosp@m.om

Definition in file eui_provider_params.h.

#include "net/eui64.h"
#include "periph/eeprom.h"
+ Include dependency graph for eui_provider_params.h:

Go to the source code of this file.

MAC configuration

Offset of the MAC address in the EEPROM

#define EEPROM_MAC_ADDR   (0x1fe4)
 
static int _eeprom_mac_get_eui64 (uint8_t index, eui64_t *addr)
 Constant in EEPROM provides a EUI-64, this is also printed on the board.
 

EUI-64 sources on the board

#define EUI64_PROVIDER_FUNC   _eeprom_mac_get_eui64
 
#define EUI64_PROVIDER_TYPE   NETDEV_AT86RF2XX
 
#define EUI64_PROVIDER_INDEX   0
 

Macro Definition Documentation

◆ EEPROM_MAC_ADDR

#define EEPROM_MAC_ADDR   (0x1fe4)

Definition at line 32 of file eui_provider_params.h.

◆ EUI64_PROVIDER_FUNC

#define EUI64_PROVIDER_FUNC   _eeprom_mac_get_eui64

Definition at line 54 of file eui_provider_params.h.

◆ EUI64_PROVIDER_INDEX

#define EUI64_PROVIDER_INDEX   0

Definition at line 56 of file eui_provider_params.h.

◆ EUI64_PROVIDER_TYPE

#define EUI64_PROVIDER_TYPE   NETDEV_AT86RF2XX

Definition at line 55 of file eui_provider_params.h.

Function Documentation

◆ _eeprom_mac_get_eui64()

static int _eeprom_mac_get_eui64 ( uint8_t  index,
eui64_t addr 
)
inlinestatic

Constant in EEPROM provides a EUI-64, this is also printed on the board.

Definition at line 37 of file eui_provider_params.h.