Go to the documentation of this file.
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 }
81 typedef struct __attribute__((packed)) {
89 typedef struct __attribute__((packed)) {
98 typedef struct __attribute__((packed)) {
106 typedef struct __attribute__((packed)) {
IEEE 802.15.4 header definitions.
uint8_t seq_nr
Broadcast sequence.
LWMAC WA (wake-up answer packet, i.e., preamble-ACK packet) frame.
LWMAC unicast data frame.
LWMAC WR (wake-up request packet, i.e., preamble packet) frame.
uint8_t type
type of frame
LWMAC broadcast data frame.
gnrc_lwmac_hdr_t header
WA packet header type.
gnrc_lwmac_l2_addr_t dst_addr
WR is broadcast, so destination address needed.
gnrc_lwmac_hdr_t header
Broadcast packet header type.
uint32_t current_phase
Node's current phase value.
gnrc_lwmac_hdr_t header
WR packet header type.
LWMAC internal L2 address structure.
gnrc_lwmac_hdr_t header
Data packet header type.
#define IEEE802154_LONG_ADDRESS_LEN
long address (EUI-64)
gnrc_lwmac_l2_addr_t dst_addr
WA is broadcast, so destination address needed.