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
Code
Location
Scope
Referrer
class
LqiAverager
:
public
Clearable
<
LqiAverager
>
link_quality.hpp:183
void
LqiAverager
::
Add
(
uint8_t
aLqi
)
link_quality.cpp:112
ot::LqiAverager::Add()
LqiAverager
mLqiAverager
;
// The averager maintaining the Link quality indicator (LQI) average.
message.hpp:225
ot::Buffer::Metadata
ot::Buffer::Metadata::mLqiAverager
const
LqiAverager
&
GetLqiAverager
(
void
)
const
{
return
GetMetadata
(
)
.
mLqiAverager
;
}
message.hpp:1348
ot::Message
ot::Message::GetLqiAverager() const
void
SetLqiAverager
(
const
LqiAverager
&
aLqiAverager
)
{
GetMetadata
(
)
.
mLqiAverager
=
aLqiAverager
;
}
message.hpp:1553
ot::Message::SetLqiAverager()
ot::Message::SetLqiAverager()::aLqiAverager
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
Instance
Scope
Location
Project
ot::Buffer::Metadata::mLqiAverager
ot::Buffer::Metadata
message.hpp:225
return
ot::Message::GetLqiAverager() const
message.hpp:1348
ot::Message::SetLqiAverager()::aLqiAverager
ot::Message::SetLqiAverager()
message.hpp:1553
Lifecycle
from
examples
All items filtered out
All items filtered out