Searched refs:props (Results 1 – 2 of 2) sorted by relevance
44 const otDeviceProperties *props; in TestDefaultDeviceProperties() local50 props = otThreadGetDeviceProperties(instance); in TestDefaultDeviceProperties()52 VerifyOrQuit(props->mPowerSupply == OPENTHREAD_CONFIG_DEVICE_POWER_SUPPLY); in TestDefaultDeviceProperties()53 VerifyOrQuit(!props->mSupportsCcm); in TestDefaultDeviceProperties()54 VerifyOrQuit(!props->mIsUnstable); in TestDefaultDeviceProperties()55 …VerifyOrQuit(props->mLeaderWeightAdjustment == OPENTHREAD_CONFIG_MLE_DEFAULT_LEADER_WEIGHT_ADJUSTM… in TestDefaultDeviceProperties()57 VerifyOrQuit(props->mIsBorderRouter); in TestDefaultDeviceProperties()59 VerifyOrQuit(!props->mIsBorderRouter); in TestDefaultDeviceProperties()64 switch (props->mPowerSupply) in TestDefaultDeviceProperties()79 weight += props->mIsBorderRouter ? 1 : 0; in TestDefaultDeviceProperties()
3574 const otDeviceProperties *props = otThreadGetDeviceProperties(GetInstancePtr()); in Process() local3576 OutputLine("PowerSupply : %s", Stringify(props->mPowerSupply, kPowerSupplyStrings)); in Process()3577 OutputLine("IsBorderRouter : %s", props->mIsBorderRouter ? "yes" : "no"); in Process()3578 OutputLine("SupportsCcm : %s", props->mSupportsCcm ? "yes" : "no"); in Process()3579 OutputLine("IsUnstable : %s", props->mIsUnstable ? "yes" : "no"); in Process()3580 OutputLine("WeightAdjustment : %d", props->mLeaderWeightAdjustment); in Process()3607 otDeviceProperties props; in Process() local3615 props.mPowerSupply = static_cast<otPowerSupply>(index); in Process()3623 props.mIsBorderRouter = value; in Process()3626 props.mSupportsCcm = value; in Process()[all …]