Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/utils/
Dmesh_diag.cpp145 RouterInfo routerInfo; in HandleDiagGetResponse() local
152 SuccessOrExit(routerInfo.ParseFrom(*aMessage)); in HandleDiagGetResponse()
156 routerInfo.mIp6AddrIterator = &ip6AddrIterator; in HandleDiagGetResponse()
159 if (childIterator.InitFrom(*aMessage, routerInfo.mRloc16) == kErrorNone) in HandleDiagGetResponse()
161 routerInfo.mChildIterator = &childIterator; in HandleDiagGetResponse()
164 mExpectedRouterIdSet.Remove(routerInfo.mRouterId); in HandleDiagGetResponse()
176 mDiscoverCallback.InvokeIfSet(error, &routerInfo); in HandleDiagGetResponse()
/openthread-3.4.0/src/ncp/
Dncp_base_ftd.cpp234 otRouterInfo routerInfo; in HandlePropertyGet() local
241 …if ((otThreadGetRouterInfo(mInstance, routerId, &routerInfo) != OT_ERROR_NONE) || !routerInfo.mAll… in HandlePropertyGet()
248 SuccessOrExit(error = mEncoder.WriteEui64(routerInfo.mExtAddress)); in HandlePropertyGet()
249 SuccessOrExit(error = mEncoder.WriteUint16(routerInfo.mRloc16)); in HandlePropertyGet()
250 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mRouterId)); in HandlePropertyGet()
251 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mNextHop)); in HandlePropertyGet()
252 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mPathCost)); in HandlePropertyGet()
253 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mLinkQualityIn)); in HandlePropertyGet()
254 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mLinkQualityOut)); in HandlePropertyGet()
255 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mAge)); in HandlePropertyGet()
[all …]
/openthread-3.4.0/src/cli/
Dcli.cpp6989 otRouterInfo routerInfo; in Process() local
7039 if (otThreadGetRouterInfo(GetInstancePtr(), i, &routerInfo) != OT_ERROR_NONE) in Process()
7046 OutputFormat("| %2u ", routerInfo.mRouterId); in Process()
7047 OutputFormat("| 0x%04x ", routerInfo.mRloc16); in Process()
7048 OutputFormat("| %8u ", routerInfo.mNextHop); in Process()
7049 OutputFormat("| %9u ", routerInfo.mPathCost); in Process()
7050 OutputFormat("| %5u ", routerInfo.mLinkQualityIn); in Process()
7051 OutputFormat("| %6u ", routerInfo.mLinkQualityOut); in Process()
7052 OutputFormat("| %3u ", routerInfo.mAge); in Process()
7054 OutputExtAddress(routerInfo.mExtAddress); in Process()
[all …]
/openthread-3.4.0/tools/harness-thci/
DOpenThread.py1855 routerInfo = []
1873 routerInfo.append(int(eui, 16))
1881 return routerInfo