58#ifndef CC1XXX_COMMON_H
59#define CC1XXX_COMMON_H
70#ifdef MODULE_GNRC_SIXLOWPAN
71#define CC1XXX_DEFAULT_PROTOCOL (GNRC_NETTYPE_SIXLOWPAN)
73#define CC1XXX_DEFAULT_PROTOCOL (GNRC_NETTYPE_UNDEF)
79#define CC1XXX_ADDR_SIZE (1)
84#define CC1XXX_BCAST_ADDR (0x00)
91typedef struct __attribute__((packed)) {
131 char priority,
char *name,
netdev_t *dev);
Definition for GNRC's network interfaces.
int gnrc_netif_cc1xxx_create(gnrc_netif_t *netif, char *stack, int stacksize, char priority, char *name, netdev_t *dev)
Creates a CC110x/CC1200 network interface.
void cc1xxx_eui_get(const netdev_t *dev, uint8_t *eui)
Retrieve a unique layer-2 address for a cc1xxx instance.
Layer 2 header used in CC1xxx frames.
uint8_t dest_addr
Destination layer 2 address.
uint8_t src_addr
Source layer 2 address.
Users of the CC110x/CC1200 adaption layer have to overlap their device handle with this structure.
netdev_t netdev
RIOT's interface to this driver.
uint8_t addr
Layer 2 address of this device.
Representation of a network interface.
Received frame status information for most radios.
Structure to hold driver state.