Home
last modified time | relevance | path

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

/openthread-3.7.0/src/core/thread/
Dmle.cpp2789 LeaderData leaderData; in HandleAdvertisement() local
2798 SuccessOrExit(error = aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)); in HandleAdvertisement()
2803 … SuccessOrExit(error = Get<MleRouter>().HandleAdvertisement(aRxInfo, sourceAddress, leaderData)); in HandleAdvertisement()
2818 if ((leaderData.GetPartitionId() != mLeaderData.GetPartitionId()) || in HandleAdvertisement()
2819 (leaderData.GetLeaderRouterId() != GetLeaderId())) in HandleAdvertisement()
2821 SetLeaderData(leaderData); in HandleAdvertisement()
2837 if (mRetrieveNewNetworkData || IsNetworkDataNewer(leaderData)) in HandleAdvertisement()
2899 LeaderData leaderData; in HandleLeaderData() local
2908 SuccessOrExit(error = aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)); in HandleLeaderData()
2910 if ((leaderData.GetPartitionId() != mLeaderData.GetPartitionId()) || in HandleLeaderData()
[all …]
Dmle_router.cpp677 LeaderData leaderData; in HandleLinkRequest() local
691 switch (aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)) in HandleLinkRequest()
694 …VerifyOrExit(leaderData.GetPartitionId() == mLeaderData.GetPartitionId(), error = kErrorInvalidSta… in HandleLinkRequest()
886 LeaderData leaderData; in HandleLinkAccept() local
953 SuccessOrExit(error = aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)); in HandleLinkAccept()
954 SetLeaderData(leaderData); in HandleLinkAccept()
989 SuccessOrExit(error = aRxInfo.mMessage.ReadLeaderDataTlv(leaderData)); in HandleLinkAccept()
990 VerifyOrExit(leaderData.GetPartitionId() == mLeaderData.GetPartitionId()); in HandleLinkAccept()
993 SerialNumber::IsGreater(leaderData.GetDataVersion(NetworkData::kFullSet), in HandleLinkAccept()
2135 LeaderData leaderData; in HandleChildUpdateRequest() local
[all …]
/openthread-3.7.0/src/cli/
Dcli.cpp3511 otLeaderData leaderData; in Process() local
3513 SuccessOrExit(error = otThreadGetLeaderData(GetInstancePtr(), &leaderData)); in Process()
3515 OutputLine("Partition ID: %lu", ToUlong(leaderData.mPartitionId)); in Process()
3516 OutputLine("Weighting: %u", leaderData.mWeighting); in Process()
3517 OutputLine("Data Version: %u", leaderData.mDataVersion); in Process()
3518 OutputLine("Stable Data Version: %u", leaderData.mStableDataVersion); in Process()
3519 OutputLine("Leader Router ID: %u", leaderData.mLeaderRouterId); in Process()
/openthread-3.7.0/tools/harness-thci/
DOpenThread.py1241 leaderData = self.__executeCommand('leaderdata')
1242 return int(leaderData[0].split()[2], 16)