class CslAccuracy

Defined at line 895 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

Represents CSL accuracy.

Public Members

static const uint8_t kWorstClockAccuracy
static const uint8_t kWorstUncertainty

Public Methods

void Init ()

Initializes the CSL accuracy using `kWorstClockAccuracy` and `kWorstUncertainty` values.

Defined at line 904 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

uint8_t GetClockAccuracy ()

Returns the CSL clock accuracy.

Defined at line 915 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

void SetClockAccuracy (uint8_t aClockAccuracy)

Sets the CSL clock accuracy.

Parameters

aClockAccuracy [in] The CSL clock accuracy in ± ppm.

Defined at line 922 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

uint8_t GetUncertainty ()

Returns the CSL uncertainty.

Defined at line 929 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

void SetUncertainty (uint8_t aUncertainty)

Sets the CSL uncertainty.

Parameters

aUncertainty [in] The CSL uncertainty in units of 10 microseconds.

Defined at line 936 of file ../../third_party/openthread/src/core/mac/mac_types.hpp