ESP-IDF
otDeviceProperties::mLeaderWeightAdjustment
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otDeviceProperties::mLeaderWeightAdjustment
otDeviceProperties::mLeaderWeightAdjustment field
Syntax
Show:
Summary
Declaration
from
thread_ftd.h:222
int8_t
mLeaderWeightAdjustment
;
Examples
References
from
examples
Code
Location
Scope
Referrer
int8_t
mLeaderWeightAdjustment
;
///< Weight adjustment. Should be -16 to +16 (clamped otherwise).
thread_ftd.h:222
OutputLine
(
"WeightAdjustment : %d"
,
props
->
mLeaderWeightAdjustment
)
;
cli.cpp:3643
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
SuccessOrExit
(
error
=
aArgs
[
4
]
.
ParseAsInt8
(
props
.
mLeaderWeightAdjustment
)
)
;
cli.cpp:3694
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
mLeaderWeightAdjustment
=
kDefaultAdjustment
;
mle_types.cpp:83
ot::Mle::DeviceProperties
ot::Mle::DeviceProperties::DeviceProperties()
mLeaderWeightAdjustment
=
Clamp
(
mLeaderWeightAdjustment
,
kMinAdjustment
,
kMaxAdjustment
)
;
mle_types.cpp:91
ot::Mle::DeviceProperties
ot::Mle::DeviceProperties::ClampWeightAdjustment()
weight
+=
mLeaderWeightAdjustment
;
mle_types.cpp:138
ot::Mle::DeviceProperties
ot::Mle::DeviceProperties::CalculateLeaderWeight() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otDeviceProperties::mLeaderWeightAdjustment
is written by 2 functions and is read by 3 functions:
ot::Mle::DeviceProperties::DeviceProperties()
ot::Mle::DeviceProperties::ClampWeightAdjustment()
All items filtered out
otDeviceProperties::mLeaderWeightAdjustment
ot::Mle::DeviceProperties::ClampWeightAdjustment()
ot::Mle::DeviceProperties::CalculateLeaderWeight() const
ot::Cli::Interpreter::Process()
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