Home
last modified time | relevance | path

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

/openthread-2.7.6/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-2.7.6/src/cli/
Dcli.cpp3672 otRouterInfo routerInfo; in ProcessRouter() local
3699 if (otThreadGetRouterInfo(mInstance, i, &routerInfo) != OT_ERROR_NONE) in ProcessRouter()
3706 OutputFormat("| %2d ", routerInfo.mRouterId); in ProcessRouter()
3707 OutputFormat("| 0x%04x ", routerInfo.mRloc16); in ProcessRouter()
3708 OutputFormat("| %8d ", routerInfo.mNextHop); in ProcessRouter()
3709 OutputFormat("| %9d ", routerInfo.mPathCost); in ProcessRouter()
3710 OutputFormat("| %5d ", routerInfo.mLinkQualityIn); in ProcessRouter()
3711 OutputFormat("| %6d ", routerInfo.mLinkQualityOut); in ProcessRouter()
3712 OutputFormat("| %3d ", routerInfo.mAge); in ProcessRouter()
3714 OutputExtAddress(routerInfo.mExtAddress); in ProcessRouter()
[all …]
/openthread-2.7.6/tools/harness-thci/
DOpenThread.py1945 routerInfo = []
1966 routerInfo.append(int(eui, 16))
1974 print(routerInfo)
1975 return routerInfo