ESP-IDF
ot::LqiAverager
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::LqiAverager
ot::LqiAverager class
Implements a Link Quality Indicator (LQI) averager. It maintains the exponential moving average value of LQI.
Syntax
Show:
Summary
Declaration
from
link_quality.hpp:183
class
LqiAverager
:
public
Clearable
<
LqiAverager
>
{
public
:
void
Add
(
uint8_t
aLqi
)
;
uint8_t
GetAverage
(
void
)
const
{
return
mAverage
;
}
uint8_t
GetCount
(
void
)
const
{
return
mCount
;
}
private
:
static
constexpr
uint8_t
kCoeffBitShift
=
3
;
uint8_t
mAverage
;
uint8_t
mCount
;
}
;
Fields
Field
Declared as
ot::LqiAverager::kCoeffBitShift
ot::LqiAverager::mAverage
uint8_t
ot::LqiAverager::mCount
uint8_t
Methods
Add()
Adds a link quality indicator (LQI) value to the average.
GetAverage() const
Returns the current average link quality value maintained by the averager.
GetCount() const
Returns the count of frames calculated so far.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out