ESP-IDF
ot::Message::GetAverageRss() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Message::GetAverageRss() const
ot::Message::GetAverageRss() const method
Returns the average RSS (Received Signal Strength) associated with the message.
Syntax
Show:
Summary
Declaration
from
message.hpp:1310
int8_t
GetAverageRss
(
void
)
const
;
Return value
The current average RSS value (in dBm) or `Radio::kInvalidRssi` if no average is available.
Examples
References
from
examples
Code
Location
Scope
Referrer
int8_t
GetAverageRss
(
void
)
const
{
return
GetMetadata
(
)
.
mRssAverager
.
GetAverage
(
)
;
}
message.hpp:1310
result
.
mRssi
=
aRxInfo
.
mMessage
.
GetAverageRss
(
)
;
discover_scanner.cpp:322
ot::Mle::DiscoverScanner::HandleDiscoveryResponse() const
aLinkInfo
.
mRss
=
GetAverageRss
(
)
;
message.cpp:809
ot::Message
ot::Message::GetLinkInfo() const
aNeighbor
.
GetLinkInfo
(
)
.
AddRss
(
aRxInfo
.
mMessage
.
GetAverageRss
(
)
)
;
mle.cpp:1061
ot::Mle::Mle::InitNeighbor()
int8_t
rss
=
aRxInfo
.
mMessage
.
GetAverageRss
(
)
;
mle.cpp:2982
ot::Mle::Mle::HandleParentResponse()
linkMargin
=
Get
<
Mac
::
Mac
>
(
)
.
ComputeLinkMargin
(
aRxInfo
.
mMessage
.
GetAverageRss
(
)
)
;
mle_router.cpp:764
ot::Mle::MleRouter::SendLinkAccept()
uint8_t
linkMargin
=
Get
<
Mac
::
Mac
>
(
)
.
ComputeLinkMargin
(
aRxInfo
.
mMessage
.
GetAverageRss
(
)
)
;
mle_router.cpp:1157
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
child
->
GetLinkInfo
(
)
.
AddRss
(
aRxInfo
.
mMessage
.
GetAverageRss
(
)
)
;
mle_router.cpp:2049
ot::Mle::MleRouter::HandleChildIdRequest()
child
->
GetLinkInfo
(
)
.
AddRss
(
aRxInfo
.
mMessage
.
GetAverageRss
(
)
)
;
mle_router.cpp:2447
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
Call Tree
from
examples
ot::Message::GetAverageRss() const
is called by 1 function:
ot::Message::GetLinkInfo() const
All items filtered out
ot::Message::GetAverageRss() const
All items filtered out
Data Use
from
examples
ot::Message::GetAverageRss() const
writes 7 variables:
All items filtered out
ot::Message::GetAverageRss() const
ot::Mle::DiscoverScanner::HandleDiscoveryResponse() const
ot::Mle::Mle::InitNeighbor()
ot::Mle::Mle::HandleParentResponse()
ot::Mle::MleRouter::SendLinkAccept()
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
ot::Mle::MleRouter::HandleChildIdRequest()
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
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