Home
last modified time | relevance | path

Searched refs:PendingDataset (Results 1 – 12 of 12) sorted by relevance

/openthread-2.7.6/src/core/meshcop/
Ddataset_manager.cpp289 IgnoreError(Get<PendingDataset>().Read(pendingDataset)); in SendSet()
744 PendingDataset::PendingDataset(Instance &aInstance) in PendingDataset() function in ot::MeshCoP::PendingDataset
745 : DatasetManager(aInstance, Dataset::kPending, PendingDataset::HandleTimer) in PendingDataset()
746 , mDelayTimer(aInstance, PendingDataset::HandleDelayTimer) in PendingDataset()
747 , mResourceGet(UriPath::kPendingGet, &PendingDataset::HandleGet, this) in PendingDataset()
749 , mResourceSet(UriPath::kPendingSet, &PendingDataset::HandleSet, this) in PendingDataset()
755 void PendingDataset::Clear(void) in Clear()
761 void PendingDataset::ClearNetwork(void) in ClearNetwork()
770 Error PendingDataset::Save(const Dataset::Info &aDatasetInfo) in Save()
781 Error PendingDataset::Save(const otOperationalDatasetTlvs &aDataset) in Save()
[all …]
Ddataset_updater.cpp142 if (Get<PendingDataset>().GetTimestamp() != nullptr) in PreparePendingDataset()
144 timestamp = *Get<PendingDataset>().GetTimestamp(); in PreparePendingDataset()
156 SuccessOrExit(error = Get<PendingDataset>().Save(dataset)); in PreparePendingDataset()
201 …if (aEvents.Contains(kEventPendingDatasetChanged) && Get<MeshCoP::PendingDataset>().Read(dataset) … in HandleNotifierEvents()
Ddataset_manager_ftd.cpp243 Get<PendingDataset>().ApplyActiveDataset(activeTimestamp, aMessage); in HandleSet()
431 void PendingDataset::StartLeader(void) in StartLeader()
437 void PendingDataset::StopLeader(void) in StopLeader()
442 void PendingDataset::HandleSet(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageIn… in HandleSet()
444 static_cast<PendingDataset *>(aContext)->HandleSet(*static_cast<Coap::Message *>(aMessage), in HandleSet()
448 void PendingDataset::HandleSet(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in HandleSet()
457 void PendingDataset::ApplyActiveDataset(const Timestamp &aTimestamp, Coap::Message &aMessage) in ApplyActiveDataset()
Ddataset_manager.hpp514 class PendingDataset : public DatasetManager, private NonCopyable class
523 explicit PendingDataset(Instance &aInstance);
/openthread-2.7.6/src/core/api/
Ddataset_api.cpp94 …return instance.Get<MeshCoP::PendingDataset>().Read(*static_cast<MeshCoP::Dataset::Info *>(aDatase… in otDatasetGetPending()
103 return instance.Get<MeshCoP::PendingDataset>().Read(*aDataset); in otDatasetGetPendingTlvs()
112 …return instance.Get<MeshCoP::PendingDataset>().Save(*static_cast<const MeshCoP::Dataset::Info *>(a… in otDatasetSetPending()
121 return instance.Get<MeshCoP::PendingDataset>().Save(*aDataset); in otDatasetSetPendingTlvs()
157 return instance.Get<MeshCoP::PendingDataset>().SendGetRequest( in otDatasetSendMgmtPendingGet()
170 return instance.Get<MeshCoP::PendingDataset>().SendSetRequest( in otDatasetSendMgmtPendingSet()
Dthread_api.cpp83 instance.Get<MeshCoP::PendingDataset>().Clear(); in otThreadSetExtendedPanId()
133 instance.Get<MeshCoP::PendingDataset>().Clear(); in otThreadSetNetworkKey()
169 instance.Get<MeshCoP::PendingDataset>().Clear(); in otThreadSetMeshLocalPrefix()
219 instance.Get<MeshCoP::PendingDataset>().Clear(); in otThreadSetNetworkName()
Dlink_api.cpp81 instance.Get<MeshCoP::PendingDataset>().Clear(); in otLinkSetChannel()
153 instance.Get<MeshCoP::PendingDataset>().Clear(); in otLinkSetPanId()
Dthread_ftd_api.cpp362 instance.Get<MeshCoP::PendingDataset>().Clear(); in otThreadSetPskc()
/openthread-2.7.6/src/core/thread/
Dthread_netif.hpp226 MeshCoP::PendingDataset mPendingDataset;
Dmle.cpp254 Get<MeshCoP::PendingDataset>().HandleDetach(); in Stop()
326 IgnoreError(Get<MeshCoP::PendingDataset>().Restore()); in Restore()
485 Get<MeshCoP::PendingDataset>().HandleDetach(); in BecomeDetached()
1450 timestamp = Get<MeshCoP::PendingDataset>().GetTimestamp(); in AppendPendingTimestamp()
1865 if (Get<MeshCoP::PendingDataset>().Restore() == kErrorNone) in Reattach()
1867 IgnoreError(Get<MeshCoP::PendingDataset>().ApplyConfiguration()); in Reattach()
3160 timestamp = Get<MeshCoP::PendingDataset>().GetTimestamp(); in HandleLeaderData()
3212 IgnoreError(Get<MeshCoP::PendingDataset>().Save(pendingTimestamp, aMessage, in HandleLeaderData()
3610 Get<MeshCoP::PendingDataset>().Clear(); in HandleChildIdResponse()
3623 …Get<MeshCoP::PendingDataset>().Save(pendingTimestamp, aMessage, offset + sizeof(tlv), tlv.GetLengt… in HandleChildIdResponse()
[all …]
Dmle_router.cpp250 Get<MeshCoP::PendingDataset>().StopLeader(); in StopLeader()
373 IgnoreError(Get<MeshCoP::PendingDataset>().Restore()); in SetStateLeader()
392 Get<MeshCoP::PendingDataset>().StartLeader(); in SetStateLeader()
2325 …if (pendingTimestamp.GetLength() == 0 || Get<MeshCoP::PendingDataset>().Compare(pendingTimestamp) … in HandleChildIdRequest()
2743 … if (pendingTimestamp.GetLength() == 0 || Get<MeshCoP::PendingDataset>().Compare(pendingTimestamp)) in HandleDataRequest()
4208 return Get<MeshCoP::PendingDataset>().AppendMleDatasetTlv(aMessage); in AppendPendingDataset()
/openthread-2.7.6/src/core/common/
Dinstance.hpp701 template <> inline MeshCoP::PendingDataset &Instance::Get(void) in Get()