42 #ifndef __TSCH_TYPES_H__ 43 #define __TSCH_TYPES_H__ 54 enum link_type { LINK_TYPE_NORMAL, LINK_TYPE_ADVERTISING, LINK_TYPE_ADVERTISING_ONLY };
65 uint16_t slotframe_handle;
72 uint16_t channel_offset;
101 uint8_t transmissions;
102 uint8_t max_transmissions;
105 uint8_t tsch_sync_ie_offset;
113 uint8_t is_broadcast;
114 uint8_t is_time_source;
115 uint8_t backoff_exponent;
116 uint8_t backoff_window;
117 uint8_t last_backoff_window;
118 uint8_t tx_links_count;
119 uint8_t dedicated_tx_links_count;
122 struct tsch_packet *tx_array[TSCH_QUEUE_NUM_PER_NEIGHBOR];
124 struct ringbufindex tx_ringbuf;
134 tsch_ts_rx_ack_delay,
135 tsch_ts_tx_ack_delay,
141 tsch_ts_timeslot_length,
142 tsch_ts_elements_count,
147 uint8_t payload[TSCH_PACKET_MAX_LEN];
Header file for the ringbufindex library
TSCH neighbor information.
802.15.4e slotframe (contains links)
tsch_timeslot_timing_elements
TSCH timeslot timing elements.
For quick modulo operation on ASN.
Linked list manipulation routines.
link_type
802.15.4e link types.
#define LIST_STRUCT(name)
Declare a linked list inside a structure declaraction.
An IEEE 802.15.4-2015 TSCH link (also called cell or slot)
The ASN is an absolute slot number over 5 bytes.
TSCH 5-Byte Absolute Slot Number (ASN) management.