gnrc/gomach/hdr.h

Header definition of GoMacH.

GNRC_GOMACH_L2_ADDR_INIT

Static initializer for gnrc_gomach_l2_addr_t.

1
{ { 0 }, 0 }
GNRC_GOMACH_FRAME_BEACON

GoMacH beacon frame type.

1
(0x01U)
GNRC_GOMACH_FRAME_DATA

GoMacH data frame type.

1
(0x02U)
GNRC_GOMACH_FRAME_PREAMBLE

GoMacH preamble frame type.

1
(0x03U)
GNRC_GOMACH_FRAME_PREAMBLE_ACK

GoMacH preamble-ACK frame type.

1
(0x04U)
GNRC_GOMACH_FRAME_BROADCAST

GoMacH broadcast frame type.

1
(0x05U)
GNRC_GOMACH_FRAME_ANNOUNCE

GoMacH announce frame type.

1
(0x06U)

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

struct gnrc_gomach_l2_addr_t

GoMacH internal L2 address structure.

uint8_t addr()

Address of node.

uint8_t len

Address length.

struct gnrc_gomach_hdr_t

GoMacH frame header.

uint8_t type

Type of GoMacH frame.

struct gnrc_gomach_frame_beacon_t

GoMacH Beacon frame.

gnrc_gomach_hdr_t header

Beacon frame header type.

uint8_t sub_channel_seq

Sub-channel sequence of this node.

uint8_t schedulelist_size

vTDMA schedule list size.

struct gnrc_gomach_frame_data_t

GoMacH data frame.

gnrc_gomach_hdr_t header

Data frame header type.

uint8_t queue_indicator

Queue-length indicator of this node.

struct gnrc_gomach_frame_announce_t

GoMacH sub-channel announce frame.

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

gnrc_gomach_hdr_t header

Announce frame header type.

uint8_t subchannel_seq

Sub-channel sequence of this node.

struct gnrc_gomach_frame_preamble_t

GoMacH preamble frame.

gnrc_gomach_hdr_t header

Preamble frame header type.

gnrc_gomach_l2_addr_t dst_addr

Address of this node.

struct gnrc_gomach_frame_preamble_ack_t

GoMacH preamble_ack frame.

gnrc_gomach_hdr_t header

Preamble-ACK frame header type.

gnrc_gomach_l2_addr_t dst_addr

Address of this node.

uint32_t phase_in_us

Current phase of this node.

struct gnrc_gomach_frame_broadcast_t

GoMacH broadcast frame.

gnrc_gomach_hdr_t header

Broadcast frame header type.

uint8_t seq_nr

Broadcast sequence of this node.