21#ifndef NET_GNRC_LWMAC_HDR_H
22#define NET_GNRC_LWMAC_HDR_H
36#define GNRC_LWMAC_FRAMETYPE_WR (0x01U)
41#define GNRC_LWMAC_FRAMETYPE_WA (0x02U)
46#define GNRC_LWMAC_FRAMETYPE_DATA (0x03U)
51#define GNRC_LWMAC_FRAMETYPE_DATA_PENDING (0x04U)
56#define GNRC_LWMAC_FRAMETYPE_BROADCAST (0x05U)
69#define GNRC_LWMAC_L2_ADDR_INITIAL { { 0 }, 0 }
81typedef struct __attribute__((packed)) {
89typedef struct __attribute__((packed)) {
98typedef struct __attribute__((packed)) {
106typedef struct __attribute__((packed)) {
LWMAC broadcast data frame.
uint8_t seq_nr
Broadcast sequence.
gnrc_lwmac_hdr_t header
Broadcast packet header type.
LWMAC unicast data frame.
gnrc_lwmac_hdr_t header
Data packet header type.
LWMAC WA (wake-up answer packet, i.e., preamble-ACK packet) frame.
uint32_t current_phase
Node's current phase value.
gnrc_lwmac_l2_addr_t dst_addr
WA is broadcast, so destination address needed.
gnrc_lwmac_hdr_t header
WA packet header type.
LWMAC WR (wake-up request packet, i.e., preamble packet) frame.
gnrc_lwmac_l2_addr_t dst_addr
WR is broadcast, so destination address needed.
gnrc_lwmac_hdr_t header
WR packet header type.
uint8_t type
type of frame
LWMAC internal L2 address structure.
IEEE 802.15.4 header definitions.