class CslAccuracy
Defined at line 906 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 915 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint8_t GetClockAccuracy ()
Returns the CSL clock accuracy.
Defined at line 926 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 933 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint8_t GetUncertainty ()
Returns the CSL uncertainty.
Defined at line 940 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
uint16_t GetUncertaintyInMicrosec ()
Gets the CLS uncertainty in microseconds.
Defined at line 947 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void SetUncertainty (uint8_t aUncertainty)
Sets the CSL uncertainty.
Parameters
Defined at line 954 of file ../../third_party/openthread/src/core/mac/mac_types.hpp