Header definition of GoMacH. More...

Detailed Description

Header definition of GoMacH.

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_gomach_l2_addr_t
 GoMacH internal L2 address structure. More...
 
struct  gnrc_gomach_hdr_t
 GoMacH frame header. More...
 
struct  gnrc_gomach_frame_beacon_t
 GoMacH Beacon frame. More...
 
struct  gnrc_gomach_frame_data_t
 GoMacH data frame. More...
 
struct  gnrc_gomach_frame_announce_t
 GoMacH sub-channel announce frame. More...
 
struct  gnrc_gomach_frame_preamble_t
 GoMacH preamble frame. More...
 
struct  gnrc_gomach_frame_preamble_ack_t
 GoMacH preamble_ack frame. More...
 
struct  gnrc_gomach_frame_broadcast_t
 GoMacH broadcast frame. More...
 
#define GNRC_GOMACH_L2_ADDR_INIT   { { 0 }, 0 }
 Static initializer for gnrc_gomach_l2_addr_t.
 
#define GNRC_GOMACH_FRAME_BEACON   (0x01U)
 GoMacH beacon frame type.
 
#define GNRC_GOMACH_FRAME_DATA   (0x02U)
 GoMacH data frame type.
 
#define GNRC_GOMACH_FRAME_PREAMBLE   (0x03U)
 GoMacH preamble frame type.
 
#define GNRC_GOMACH_FRAME_PREAMBLE_ACK   (0x04U)
 GoMacH preamble-ACK frame type.
 
#define GNRC_GOMACH_FRAME_BROADCAST   (0x05U)
 GoMacH broadcast frame type.
 
#define GNRC_GOMACH_FRAME_ANNOUNCE   (0x06U)
 GoMacH announce frame type. More...
 

Macro Definition Documentation

◆ GNRC_GOMACH_FRAME_ANNOUNCE

#define GNRC_GOMACH_FRAME_ANNOUNCE   (0x06U)

GoMacH announce frame type.

This frame type is specifically used to announce the chosen sub-channel sequence of the node to its one-hop neighbors.

Definition at line 75 of file hdr.h.