cc2538_eui_primary.h File Reference

CC2538 EUI-64 provider. More...

Detailed Description

CC2538 EUI-64 provider.

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file cc2538_eui_primary.h.

#include "net/eui64.h"
+ Include dependency graph for cc2538_eui_primary.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define CC2538_EUI64_LOCATION_PRI   (0x00280028)
 Primary EUI-64 address location.
 
#define CC2538_EUI64_LOCATION_SEC   (0x0027FFCC)
 Secondary EUI-64 address location.
 
static int cc2538_get_eui64_primary (const void *arg, eui64_t *addr)
 Get the primary (burned-in) EUI-64 of the device. More...
 

CC2538 comes with an EUI-64

#define EUI64_PROVIDER_FUNC   cc2538_get_eui64_primary
 
#define EUI64_PROVIDER_TYPE   NETDEV_CC2538
 
#define EUI64_PROVIDER_INDEX   0
 

Function Documentation

◆ cc2538_get_eui64_primary()

static int cc2538_get_eui64_primary ( const void *  arg,
eui64_t addr 
)
inlinestatic

Get the primary (burned-in) EUI-64 of the device.

Parameters
argunused
[out]addrThe EUI-64
Returns
0

Definition at line 39 of file cc2538_eui_primary.h.