class LinkFrameCounters

Defined at line 751 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 (Radio::Type aRadioType)

Gets the link Frame Counter for a given radio link.

Parameters

aRadioType [in] A radio link type.
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 757 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 820 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

void Set (Radio::Type aRadioType, uint32_t aCounter)

Sets the Link Frame Counter for a given radio link.

Parameters

aRadioType [in] A radio link type.
aCounter [in] The new counter value.
void Set154 (uint32_t aCounter)

Sets the Link Frame Counter for 802.15.4 radio link.

Parameters

aCounter [in] The new counter value.

Defined at line 827 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 836 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 841 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.

Parameters

aCounter [in] The Link Frame Counter value.