Loading...
Searching...
No Matches

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.
 

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.

◆ GNRC_GOMACH_FRAME_BEACON

#define GNRC_GOMACH_FRAME_BEACON   (0x01U)

GoMacH beacon frame type.

Definition at line 47 of file hdr.h.

◆ GNRC_GOMACH_FRAME_BROADCAST

#define GNRC_GOMACH_FRAME_BROADCAST   (0x05U)

GoMacH broadcast frame type.

Definition at line 67 of file hdr.h.

◆ GNRC_GOMACH_FRAME_DATA

#define GNRC_GOMACH_FRAME_DATA   (0x02U)

GoMacH data frame type.

Definition at line 52 of file hdr.h.

◆ GNRC_GOMACH_FRAME_PREAMBLE

#define GNRC_GOMACH_FRAME_PREAMBLE   (0x03U)

GoMacH preamble frame type.

Definition at line 57 of file hdr.h.

◆ GNRC_GOMACH_FRAME_PREAMBLE_ACK

#define GNRC_GOMACH_FRAME_PREAMBLE_ACK   (0x04U)

GoMacH preamble-ACK frame type.

Definition at line 62 of file hdr.h.

◆ GNRC_GOMACH_L2_ADDR_INIT

#define GNRC_GOMACH_L2_ADDR_INIT   { { 0 }, 0 }

Static initializer for gnrc_gomach_l2_addr_t.

Definition at line 42 of file hdr.h.