class LinkFrameCounters
Defined at line 787 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
Represents Link Frame Counters for all supported radio links.
Public Methods
uint32_t Get (RadioType aRadioType)
Gets the link Frame Counter for a given radio link.
Parameters
uint32_t GetMaximum ()
Gets the maximum Link Frame Counter among all supported radio links.
Returns
The maximum Link frame Counter among all supported radio links.
void Reset ()
Resets all counters (set them all to zero).
Defined at line 793 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint32_t Get154 ()
Gets the Link Frame Counter for 802.15.4 radio link.
Defined at line 856 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void Set (RadioType aRadioType, uint32_t aCounter)
Sets the Link Frame Counter for a given radio link.
Parameters
void Set154 (uint32_t aCounter)
Sets the Link Frame Counter for 802.15.4 radio link.
Parameters
Defined at line 863 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint32_t GetTrel ()
Gets the Link Frame Counter for TREL radio link.
Defined at line 872 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void IncrementTrel ()
Increments the Link Frame Counter for TREL radio link.
Defined at line 877 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void SetAll (uint32_t aCounter)
Sets the Link Frame Counter value for all radio links.