ot::Mac::LinkRaw::SetMacFrameCounter() method
Sets the current MAC frame counter value.
Arguments
aFrameCounter
The MAC frame counter value.
aSetIfLarger
If `true`, set only if the new value @p aFrameCounter is larger than current value. If `false`, set the new value independent of the current value.
Return value
kErrorNone If successful. kErrorInvalidState If the raw link-layer isn't enabled.
ot::Mac::LinkRaw::SetMacFrameCounter() calls 1 function:
![]()
ot::Mac::LinkRaw::SetMacFrameCounter()
ot::Mac::LinkRaw::SetMacFrameCounter() reads 2 variables:
![]()
ot::Mac::LinkRaw::SetMacFrameCounter()