![]() |
0.01.00
|
This module includes definitions for the IEEE 802.15.4 MAC. More...
Classes | |
| class | ot::Mac::Receiver |
| This class implements a MAC receiver client. More... | |
| class | ot::Mac::Sender |
| This class implements a MAC sender client. More... | |
| class | ot::Mac::Mac |
| This class implements the IEEE 802.15.4 MAC. More... | |
| class | ot::Mac::ExtAddress |
| This structure represents an IEEE 802.15.4 Extended Address. More... | |
| struct | ot::Mac::Address |
| This structure represents an IEEE 802.15.4 Short or Extended Address. More... | |
| class | ot::Mac::Frame |
| This class implements IEEE 802.15.4 MAC frame generation and parsing. More... | |
| class | ot::Mac::Beacon |
| class | ot::Mac::BeaconPayload |
| This class implements IEEE 802.15.4 Beacon Payload generation and parsing. More... | |
Typedefs | |
| typedef otPanId | ot::Mac::PanId |
| This type represents the IEEE 802.15.4 PAN ID. | |
| typedef otShortAddress | ot::Mac::ShortAddress |
| This type represents the IEEE 802.15.4 Short Address. | |
Enumerations | |
| enum | { ot::Mac::kMinBE = 3, ot::Mac::kMaxBE = 5, ot::Mac::kMaxCSMABackoffs = 4, ot::Mac::kUnitBackoffPeriod = 20, ot::Mac::kMinBackoff = 1, ot::Mac::kAckTimeout = 16, ot::Mac::kDataPollTimeout = 100, ot::Mac::kSleepDelay = 300, ot::Mac::kNonceSize = 13, ot::Mac::kScanChannelsAll = OT_CHANNEL_ALL, ot::Mac::kScanDurationDefault = 300, ot::Mac::kDirectFrameMacTxAttempts = OPENTHREAD_CONFIG_MAX_TX_ATTEMPTS_DIRECT, ot::Mac::kIndirectFrameMacTxAttempts = OPENTHREAD_CONFIG_MAX_TX_ATTEMPTS_INDIRECT_PER_POLL } |
| Protocol parameters and constants. More... | |
| enum | { kShortAddrBroadcast = 0xffff, kShortAddrInvalid = 0xfffe, kPanIdBroadcast = 0xffff } |
Variables | |
| OT_TOOL_PACKED_BEGIN class ot::Mac::Beacon | ot::Mac::OT_TOOL_PACKED_END |
This module includes definitions for the IEEE 802.15.4 MAC.
| anonymous enum |
Protocol parameters and constants.
| Enumerator | |
|---|---|
| kMinBE | macMinBE (IEEE 802.15.4-2006) |
| kMaxBE | macMaxBE (IEEE 802.15.4-2006) |
| kMaxCSMABackoffs | macMaxCSMABackoffs (IEEE 802.15.4-2006) |
| kUnitBackoffPeriod | Number of symbols (IEEE 802.15.4-2006) |
| kMinBackoff | Minimum backoff (milliseconds). |
| kAckTimeout | Timeout for waiting on an ACK (milliseconds). |
| kDataPollTimeout | Timeout for receiving Data Frame (milliseconds). |
| kSleepDelay | Max sleep delay when frame is pending (milliseconds). |
| kNonceSize | Size of IEEE 802.15.4 Nonce (bytes). |
| kScanChannelsAll | All channels. |
| kScanDurationDefault | Default interval between channels (milliseconds). |
| kDirectFrameMacTxAttempts | Maximum number of MAC layer tx attempts for an outbound direct frame. |
| kIndirectFrameMacTxAttempts | Maximum number of MAC layer tx attempts for an outbound indirect frame (for a sleepy child) after receiving a data request command (data poll) from the child. |