Home
last modified time | relevance | path

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

/openthread-3.5.0/src/core/thread/
Dmle.cpp367 Settings::NetworkInfo networkInfo; in Restore() local
377 SuccessOrExit(Get<Settings>().Read(networkInfo)); in Restore()
379 Get<KeyManager>().SetCurrentKeySequence(networkInfo.GetKeySequence()); in Restore()
380 Get<KeyManager>().SetMleFrameCounter(networkInfo.GetMleFrameCounter()); in Restore()
381 …Get<KeyManager>().SetAllMacFrameCounters(networkInfo.GetMacFrameCounter(), /* aSetIfLarger */ fals… in Restore()
384 mDeviceMode.Set(networkInfo.GetDeviceMode() & ~DeviceMode::kModeFullThreadDevice); in Restore()
386 mDeviceMode.Set(networkInfo.GetDeviceMode()); in Restore()
390 VerifyOrExit(networkInfo.GetVersion() == kThreadVersion); in Restore()
392 switch (networkInfo.GetRole()) in Restore()
404 if (!IsActiveRouter(networkInfo.GetRloc16())) in Restore()
[all …]
/openthread-3.5.0/src/lib/spinel/
Dradio_spinel_impl.hpp2132 Settings::NetworkInfo networkInfo; in RestoreProperties() local
2150 …if (static_cast<Instance *>(mInstance)->template Get<Settings>().Read(networkInfo) == OT_ERROR_NON… in RestoreProperties()
2153 …Set(SPINEL_PROP_RCP_MAC_FRAME_COUNTER, SPINEL_DATATYPE_UINT32_S, networkInfo.GetMacFrameCounter())… in RestoreProperties()