All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

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.
 

Macro Definition Documentation

◆ GNRC_LWMAC_FRAMETYPE_BROADCAST

#define GNRC_LWMAC_FRAMETYPE_BROADCAST   (0x05U)

LWMAC broadcast frame type.

Definition at line 56 of file hdr.h.

◆ GNRC_LWMAC_FRAMETYPE_DATA

#define GNRC_LWMAC_FRAMETYPE_DATA   (0x03U)

LWMAC data frame type.

Definition at line 46 of file hdr.h.

◆ GNRC_LWMAC_FRAMETYPE_DATA_PENDING

#define GNRC_LWMAC_FRAMETYPE_DATA_PENDING   (0x04U)

LWMAC data frame type with pending data transmission request.

Definition at line 51 of file hdr.h.

◆ GNRC_LWMAC_FRAMETYPE_WA

#define GNRC_LWMAC_FRAMETYPE_WA   (0x02U)

LWMAC WA (wake-up answer packet, i.e., preamble-ACK packet) frame type.

Definition at line 41 of file hdr.h.

◆ GNRC_LWMAC_FRAMETYPE_WR

#define GNRC_LWMAC_FRAMETYPE_WR   (0x01U)

LWMAC WR (wake-up request packet, i.e., preamble packet) frame type.

Definition at line 36 of file hdr.h.

◆ GNRC_LWMAC_L2_ADDR_INITIAL

#define GNRC_LWMAC_L2_ADDR_INITIAL   { { 0 }, 0 }

Static initializer for l2_addr_t.

Definition at line 69 of file hdr.h.