Home
last modified time | relevance | path

Searched refs:oldMode (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/src/core/thread/
Dmle_router.cpp2241 DeviceMode oldMode; in HandleChildUpdateRequestOnParent() local
2288 oldMode = child->GetDeviceMode(); in HandleChildUpdateRequestOnParent()
2402 if (oldMode != child->GetDeviceMode()) in HandleChildUpdateRequestOnParent()
2404 LogNote("Child 0x%04x mode change 0x%02x -> 0x%02x [%s]", child->GetRloc16(), oldMode.Get(), in HandleChildUpdateRequestOnParent()
2422 Get<IndirectSender>().HandleChildModeChange(*child, oldMode); in HandleChildUpdateRequestOnParent()
Dmle.cpp823 DeviceMode oldMode = mDeviceMode; in SetDeviceMode() local
841 …LogNote("Mode 0x%02x -> 0x%02x [%s]", oldMode.Get(), mDeviceMode.Get(), mDeviceMode.ToString().AsC… in SetDeviceMode()
858 if (oldMode.IsFullThreadDevice() != mDeviceMode.IsFullThreadDevice()) in SetDeviceMode()
869 … if (!mInitiallyAttachedAsSleepy && oldMode.IsRxOnWhenIdle() && !mDeviceMode.IsRxOnWhenIdle()) in SetDeviceMode()