Home
last modified time | relevance | path

Searched refs:childInfo (Results 1 – 4 of 4) sorted by relevance

/openthread-latest/src/core/thread/
Dchild_table.cpp225 for (const Settings::ChildInfo &childInfo : Get<Settings>().IterateChildInfo()) in Restore() local
229 child = FindChild(childInfo.GetExtAddress(), Child::kInStateAnyExceptInvalid); in Restore()
242 child->SetExtAddress(childInfo.GetExtAddress()); in Restore()
244 child->SetRloc16(childInfo.GetRloc16()); in Restore()
245 child->SetTimeout(childInfo.GetTimeout()); in Restore()
246 child->SetDeviceMode(Mle::DeviceMode(childInfo.GetMode())); in Restore()
250 child->SetVersion(childInfo.GetVersion()); in Restore()
284 Settings::ChildInfo childInfo; in StoreChild() local
288 childInfo.Init(); in StoreChild()
289 childInfo.SetExtAddress(aChild.GetExtAddress()); in StoreChild()
[all …]
Dnetwork_diagnostic.cpp1186 ChildInfo *childInfo = &aTlvInfo.mData.mChildTable.mTable[0]; in GetNextDiagTlv() local
1203 childInfo->mTimeout = entry.GetTimeout(); in GetNextDiagTlv()
1204 childInfo->mLinkQuality = entry.GetLinkQuality(); in GetNextDiagTlv()
1205 childInfo->mChildId = entry.GetChildId(); in GetNextDiagTlv()
1206 entry.GetMode().Get(childInfo->mMode); in GetNextDiagTlv()
1209 childInfo++; in GetNextDiagTlv()
/openthread-latest/src/cli/
Dcli.cpp1632 otChildInfo childInfo; in Process() local
1676 if ((otThreadGetChildInfoByIndex(GetInstancePtr(), i, &childInfo) != OT_ERROR_NONE) || in Process()
1677 childInfo.mIsStateRestoring) in Process()
1684 OutputFormat("| %3u ", childInfo.mChildId); in Process()
1685 OutputFormat("| 0x%04x ", childInfo.mRloc16); in Process()
1686 OutputFormat("| %10lu ", ToUlong(childInfo.mTimeout)); in Process()
1687 OutputFormat("| %10lu ", ToUlong(childInfo.mAge)); in Process()
1688 OutputFormat("| %5u ", childInfo.mLinkQualityIn); in Process()
1689 OutputFormat("| %4u ", childInfo.mNetworkDataVersion); in Process()
1690 OutputFormat("|%1d", childInfo.mRxOnWhenIdle); in Process()
[all …]
/openthread-latest/src/ncp/
Dncp_base_ftd.cpp210 otChildInfo childInfo; in HandlePropertyGet() local
217 …if ((otThreadGetChildInfoByIndex(mInstance, index, &childInfo) != OT_ERROR_NONE) || childInfo.mIsS… in HandlePropertyGet()
223 SuccessOrExit(error = EncodeChildInfo(childInfo)); in HandlePropertyGet()
268 otChildInfo childInfo; in HandlePropertyGet() local
277 if ((otThreadGetChildInfoByIndex(mInstance, childIndex, &childInfo) != OT_ERROR_NONE) || in HandlePropertyGet()
278 childInfo.mIsStateRestoring) in HandlePropertyGet()
285 SuccessOrExit(error = mEncoder.WriteEui64(childInfo.mExtAddress)); in HandlePropertyGet()
286 SuccessOrExit(error = mEncoder.WriteUint16(childInfo.mRloc16)); in HandlePropertyGet()