Header definition LWMAC. More...

Detailed Description

Header definition LWMAC.

Definition in file hdr.h.

#include <stdint.h>
#include <stdbool.h>
#include "net/ieee802154.h"
+ Include dependency graph for hdr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gnrc_lwmac_l2_addr_t
 LWMAC internal L2 address structure. More...
 
struct  gnrc_lwmac_hdr_t
 LWMAC header. More...
 
struct  gnrc_lwmac_frame_wr_t
 LWMAC WR (wake-up request packet, i.e., preamble packet) frame. More...
 
struct  gnrc_lwmac_frame_wa_t
 LWMAC WA (wake-up answer packet, i.e., preamble-ACK packet) frame. More...
 
struct  gnrc_lwmac_frame_broadcast_t
 LWMAC broadcast data frame. More...
 
struct  gnrc_lwmac_frame_data_t
 LWMAC unicast data frame. More...
 
#define GNRC_LWMAC_FRAMETYPE_WR   (0x01U)
 LWMAC WR (wake-up request packet, i.e., preamble packet) frame type.
 
#define GNRC_LWMAC_FRAMETYPE_WA   (0x02U)
 LWMAC WA (wake-up answer packet, i.e., preamble-ACK packet) frame type.
 
#define GNRC_LWMAC_FRAMETYPE_DATA   (0x03U)
 LWMAC data frame type.
 
#define GNRC_LWMAC_FRAMETYPE_DATA_PENDING   (0x04U)
 LWMAC data frame type with pending data transmission request.
 
#define GNRC_LWMAC_FRAMETYPE_BROADCAST   (0x05U)
 LWMAC broadcast frame type.
 
#define GNRC_LWMAC_L2_ADDR_INITIAL   { { 0 }, 0 }
 Static initializer for l2_addr_t.