ESP-IDF
ot::Mle::DeviceProperties::CalculateLeaderWeight() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Mle::DeviceProperties::CalculateLeaderWeight() const
ot::Mle::DeviceProperties::CalculateLeaderWeight() const method
Calculates the leader weight based on the device properties.
Syntax
Show:
Summary
Declaration
Definition
from
mle_types.hpp:334
uint8_t
CalculateLeaderWeight
(
void
)
const
;
Implemented in
mle_types.cpp:94
Return value
The calculated leader weight.
Examples
References
from
examples
Code
Location
uint8_t
DeviceProperties
::
CalculateLeaderWeight
(
void
)
const
mle_types.cpp:94
uint8_t
CalculateLeaderWeight
(
void
)
const
;
mle_types.hpp:334
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::Mle::DeviceProperties::CalculateLeaderWeight() const
reads 17 variables:
otDeviceProperties::mPowerSupply
otDeviceProperties::mIsBorderRouter
otDeviceProperties::mSupportsCcm
otDeviceProperties::mIsUnstable
otDeviceProperties::mLeaderWeightAdjustment
ot::Mle::DeviceProperties::PowerSupply::kPowerSupplyBattery
ot::Mle::DeviceProperties::PowerSupply::kPowerSupplyExternal
ot::Mle::DeviceProperties::PowerSupply::kPowerSupplyExternalStable
ot::Mle::DeviceProperties::PowerSupply::kPowerSupplyExternalUnstable
ot::Mle::DeviceProperties::kBaseWeight
ot::Mle::DeviceProperties::kBorderRouterInc
ot::Mle::DeviceProperties::kCcmBorderRouterInc
ot::Mle::DeviceProperties::kIsUnstableInc
ot::Mle::DeviceProperties::kPowerBatteryInc
ot::Mle::DeviceProperties::kPowerExternalInc
ot::Mle::DeviceProperties::kPowerExternalStableInc
ot::Mle::DeviceProperties::kPowerExternalUnstableInc
All items filtered out
ot::Mle::DeviceProperties::CalculateLeaderWeight() const
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