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.
-
uint8_t
-
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.
-
gnrc_gomach_hdr_t
-
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.
-
gnrc_gomach_hdr_t
-
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.
-
gnrc_gomach_hdr_t
-
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.
-
gnrc_gomach_hdr_t