ESP-IDF
ot::Mac::TxFrame::GetMaxFrameRetries() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Mac::TxFrame::GetMaxFrameRetries() const
ot::Mac::TxFrame::GetMaxFrameRetries() const method
Returns the maximum number of retries allowed after a transmission failure. Equivalent to macMaxFrameRetries in IEEE 802.15.4-2006.
Syntax
Show:
Summary
Declaration
from
mac_frame.hpp:1135
uint8_t
GetMaxFrameRetries
(
void
)
const
;
Return value
The maximum number of retries allowed after a transmission failure.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetMaxFrameRetries
(
void
)
const
{
return
mInfo
.
mTxInfo
.
mMaxFrameRetries
;
}
mac_frame.hpp:1135
uint8_t
maxAttempts
=
aFrame
.
GetMaxFrameRetries
(
)
+
1
;
mac.cpp:2271
ot::Mac::Mac
ot::Mac::Mac::LogFrameTxFailure() const
shouldRetx
=
(
(
aError
!=
kErrorNone
)
&&
ShouldHandleRetries
(
)
&&
(
mTransmitRetries
<
aFrame
.
GetMaxFrameRetries
(
)
)
)
;
sub_mac.cpp:567
ot::Mac::SubMac
ot::Mac::SubMac::HandleTransmitDone()
Call Tree
from
examples
ot::Mac::TxFrame::GetMaxFrameRetries() const
is called by 2 functions:
ot::Mac::Mac::LogFrameTxFailure() const
ot::Mac::SubMac::HandleTransmitDone()
All items filtered out
ot::Mac::TxFrame::GetMaxFrameRetries() const
All items filtered out
Data Use
from
examples
ot::Mac::TxFrame::GetMaxFrameRetries() const
reads 3 variables:
otRadioFrame::
::
::mMaxFrameRetries
otRadioFrame::
::mTxInfo
otRadioFrame::mInfo
All items filtered out
ot::Mac::TxFrame::GetMaxFrameRetries() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out