18#ifndef OPENDSME_DSME_SETTINGS_H
19#define OPENDSME_DSME_SETTINGS_H
35#define DSME_MAX_LOST_BEACONS CONFIG_OPENDSME_MAX_LOST_BEACONS
39namespace const_redefines {
constexpr uint8_t aNumSuperframeSlots
fixed value, see Table 8-80 of IEEE 802.15.4-2015, this includes beacon, CAP and GTS
constexpr uint8_t macSIFSPeriod
fixed value, see 8.1.3 of IEEE 802.15.4-2011 (assuming no UWB PHY)
constexpr uint16_t MAC_DEFAULT_NWK_ID
default PAN ID
constexpr uint8_t MAX_CHANNELS
maximum number of IEEE 802.15.4 channels
constexpr uint16_t MAX_OCCUPIED_SLOTS
Maximum number of GTS slots per superframe.
constexpr uint16_t DSME_BROADCAST_PAN_ID
Broadcast PAN ID.
constexpr uint8_t MIN_SO
Minimum superframe order.
constexpr uint8_t MIN_CSMA_SLOTS
Minimum number of CSMA slots.
constexpr uint8_t MAX_NEIGHBORS
maximum number of neighbors
constexpr uint16_t MAX_TOTAL_SUPERFRAMES
Maximum number of superframes per beacon interval.
constexpr uint16_t UPPER_LAYER_QUEUE_SIZE
Size of the CAP queue.
constexpr uint8_t MAX_BO
Maximum beacon order.
constexpr uint8_t ADDITIONAL_ACK_WAIT_DURATION
Additional time to wait for an ACK.
constexpr uint16_t TOTAL_GTS_QUEUE_SIZE
Size of the CFP queue.
constexpr uint16_t CAP_QUEUE_SIZE
Size of the CAP queue.
constexpr uint8_t MAX_GTSLOTS
maximum number of GTS slots
constexpr uint8_t MAX_SAB_UNITS
Maximum number of SAB units.
constexpr uint16_t MAX_SLOTS_PER_SUPERFRAMES
Maximum number of slots per superframe.
constexpr uint8_t MIN_CHANNEL
minimum number of IEEE 802.15.4 channels
constexpr uint16_t MAX_SUPERFRAMES_PER_MULTI_SUPERFRAME
Maximum number of superframes per multi-superframe.
constexpr uint8_t MAC_DEFAULT_CHANNEL
default MAC channel
constexpr uint8_t MAX_MO
Maximum multi-superframe order.
constexpr uint8_t PRE_EVENT_SHIFT
guard time before a DSME event
constexpr uint8_t macLIFSPeriod
fixed value, see 8.1.3 of IEEE 802.15.4-2011 (assuming no UWB PHY)
#define CONFIG_IEEE802154_DEFAULT_PANID
IEEE802.15.4 default PANID.
#define CONFIG_IEEE802154_DEFAULT_CHANNEL
IEEE802.15.4 default channel.
#define CONFIG_OPENDSME_CFP_QUEUE_SIZE
DSME CFP queue size (for GTS transmissions)
#define CONFIG_OPENDSME_MAX_NEIGHBOURS
maximum number of DSME neighbours
#define CONFIG_OPENDSME_CAP_QUEUE_SIZE
DSME CAP queue size.
Common macros and compiler attributes/pragmas configuration.
stdio wrapper to extend the C libs stdio
IEEE 802.15.4 header definitions.