Home
last modified time | relevance | path

Searched refs:StateTlv (Results 1 – 13 of 13) sorted by relevance

/openthread-3.6.0/src/core/meshcop/
Dmeshcop_leader.cpp72 StateTlv::State state = StateTlv::kReject; in HandleTmf()
93 state = StateTlv::kAccept; in HandleTmf()
102 StateTlv::State aState) in SendPetitionResponse()
110 SuccessOrExit(error = Tlv::Append<StateTlv>(*message, aState)); in SendPetitionResponse()
117 if (aState == StateTlv::kAccept) in SendPetitionResponse()
136 StateTlv::State responseState; in HandleTmf()
142 SuccessOrExit(Tlv::Find<StateTlv>(aMessage, state)); in HandleTmf()
150 responseState = StateTlv::kReject; in HandleTmf()
152 else if (state != StateTlv::kAccept) in HandleTmf()
154 responseState = StateTlv::kReject; in HandleTmf()
[all …]
Dcommissioner.cpp742 …VerifyOrExit(aMessage->GetCode() == Coap::kCodeChanged && Tlv::Find<StateTlv>(*aMessage, state) ==… in HandleMgmtCommissionerSetResponse()
743 state != StateTlv::kPending, in HandleMgmtCommissionerSetResponse()
749 …error == kErrorNone ? StateTlv::StateToString(static_cast<StateTlv::State>(state)) : ErrorToString… in HandleMgmtCommissionerSetResponse()
800 SuccessOrExit(Tlv::Find<StateTlv>(*aMessage, state)); in HandleLeaderPetitionResponse()
801 VerifyOrExit(state == StateTlv::kAccept, IgnoreError(Stop(kDoNotSendKeepAlive))); in HandleLeaderPetitionResponse()
848 …error = Tlv::Append<StateTlv>(*message, (mState == kStateActive) ? StateTlv::kAccept : StateTlv::k… in SendKeepAlive()
886 SuccessOrExit(Tlv::Find<StateTlv>(*aMessage, state)); in HandleLeaderKeepAliveResponse()
887 VerifyOrExit(state == StateTlv::kAccept, IgnoreError(Stop(kDoNotSendKeepAlive))); in HandleLeaderKeepAliveResponse()
997 StateTlv::State state = StateTlv::kAccept; in HandleTmf()
1009 state = StateTlv::kReject; in HandleTmf()
[all …]
Dmeshcop_leader.hpp129 StateTlv::State aState);
133 StateTlv::State aState);
Ddataset_manager_ftd.cpp82 StateTlv::State state = StateTlv::kReject; in HandleSet()
237 state = StateTlv::kAccept; in HandleSet()
257 return (state == StateTlv::kAccept) ? kErrorNone : kErrorDrop; in HandleSet()
262 StateTlv::State aState) in SendSetResponse()
270 SuccessOrExit(error = Tlv::Append<StateTlv>(*message, aState)); in SendSetResponse()
Ddataset_manager.cpp315 uint8_t state = StateTlv::kPending; in HandleMgmtSetResponse()
318 VerifyOrExit(Tlv::Find<StateTlv>(*aMessage, state) == kErrorNone && state != StateTlv::kPending, in HandleMgmtSetResponse()
320 if (state == StateTlv::kReject) in HandleMgmtSetResponse()
Djoiner.cpp423 SuccessOrExit(error = Tlv::Append<StateTlv>(*mFinalizeMessage, StateTlv::kAccept)); in PrepareJoinerFinalizeMessage()
503 SuccessOrExit(Tlv::Find<StateTlv>(*aMessage, state)); in HandleJoinerFinalizeResponse()
Ddataset_manager.hpp360 …ponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aMessageInfo, StateTlv::State aState);
Dmeshcop_tlvs.cpp147 const char *StateTlv::StateToString(State aState) in StateToString()
Dmeshcop_tlvs.hpp571 class StateTlv : public UintTlvInfo<Tlv::kState, uint8_t> class
574 StateTlv(void) = delete;
Dcommissioner.hpp452 void SendJoinFinalizeResponse(const Coap::Message &aRequest, StateTlv::State aState);
Dborder_agent.cpp195 SuccessOrExit(error = Tlv::Find<StateTlv>(*aResponse, state)); in HandleCoapResponse()
197 if (state == StateTlv::kAccept) in HandleCoapResponse()
/openthread-3.6.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp170 MeshCoP::StateTlv::State state = MeshCoP::StateTlv::kReject; in HandleTmf()
198 state = MeshCoP::StateTlv::kAccept; in HandleTmf()
260 MeshCoP::StateTlv::State aState) in SendCommissioningSetResponse()
265 SuccessOrExit(Tlv::Append<MeshCoP::StateTlv>(*message, aState)); in SendCommissioningSetResponse()
Dnetwork_data_leader.hpp617 MeshCoP::StateTlv::State aState);