Represents the device properties which are used for calculating the local leader weight on a device.
The parameters are set based on device's capability, whether acting as border router, its power supply config, etc.
mIsUnstable
indicates operational stability of device and is determined via a vendor specific mechanism. It can include the following cases:
Device internally detects that it loses external power supply more often than usual. What is usual is determined by the vendor.
Device internally detects that it reboots more often than usual. What is usual is determined by the vendor.
Public Attributes#
Power supply config.
Whether device is a border router.
Whether device supports CCM (can act as a CCM border router).
Operational stability of device (vendor specific).
Weight adjustment. Should be -16 to +16 (clamped otherwise).
Public Attribute Documentation#
mPowerSupply#
otPowerSupply otDeviceProperties::mPowerSupply
Power supply config.
218
of file include/openthread/thread_ftd.h
mIsBorderRouter#
bool otDeviceProperties::mIsBorderRouter
Whether device is a border router.
219
of file include/openthread/thread_ftd.h
mSupportsCcm#
bool otDeviceProperties::mSupportsCcm
Whether device supports CCM (can act as a CCM border router).
220
of file include/openthread/thread_ftd.h
mIsUnstable#
bool otDeviceProperties::mIsUnstable
Operational stability of device (vendor specific).
221
of file include/openthread/thread_ftd.h
mLeaderWeightAdjustment#
int8_t otDeviceProperties::mLeaderWeightAdjustment
Weight adjustment. Should be -16 to +16 (clamped otherwise).
222
of file include/openthread/thread_ftd.h