class CslAccuracy
Defined at line 922 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 931 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint8_t GetClockAccuracy ()
Returns the CSL clock accuracy.
Defined at line 942 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void SetClockAccuracy (uint8_t aClockAccuracy)
Sets the CSL clock accuracy.
Parameters
Defined at line 949 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint8_t GetUncertainty ()
Returns the CSL uncertainty.
Defined at line 956 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint16_t GetUncertaintyInMicrosec ()
Gets the CLS uncertainty in microseconds.
Defined at line 963 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void SetUncertainty (uint8_t aUncertainty)
Sets the CSL uncertainty.
Parameters
Defined at line 970 of file ../../third_party/openthread/src/core/mac/mac_types.hpp