Home
last modified time | relevance | path

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

/external/openthread/src/cli/
Dcli.cpp3407 uint8_t minRouterId; in Process() local
3413 otThreadGetRouterIdRange(GetInstancePtr(), &minRouterId, &maxRouterId); in Process()
3414 OutputLine("%d %d", minRouterId, maxRouterId); in Process()
3418 SuccessOrExit(error = aArgs[0].ParseAsUint8(minRouterId)); in Process()
3421 error = otThreadSetRouterIdRange(GetInstancePtr(), minRouterId, maxRouterId); in Process()
/external/openthread/src/core/thread/
Dmle_router.cpp229 uint8_t minRouterId; in BecomeLeader() local
247 mRouterTable.GetRouterIdRange(minRouterId, maxRouterId); in BecomeLeader()
248 …if (IsRouterIdValid(mPreviousRouterId) && minRouterId <= mPreviousRouterId && mPreviousRouterId <=… in BecomeLeader()
254 leaderId = Random::NonCrypto::GetUint8InRange(minRouterId, maxRouterId + 1); in BecomeLeader()