Home
last modified time | relevance | path

Searched refs:mRole (Results 1 – 7 of 7) sorted by relevance

/openthread-3.5.0/src/core/thread/
Dmle.hpp242 DeviceRole GetRole(void) const { return mRole; } in GetRole()
251 bool IsDisabled(void) const { return (mRole == kRoleDisabled); } in IsDisabled()
260 bool IsDetached(void) const { return (mRole == kRoleDetached); } in IsDetached()
269 bool IsChild(void) const { return (mRole == kRoleChild); } in IsChild()
278 bool IsRouter(void) const { return (mRole == kRoleRouter); } in IsRouter()
287 bool IsLeader(void) const { return (mRole == kRoleLeader); } in IsLeader()
623 UpdateRoleTimeCounters(mRole); in GetCounters()
1345 DeviceRole mRole; member in ot::Mle::Mle
Dmle_router.cpp167 switch (mRole) in SetRouterEligible()
237 switch (mRole) in BecomeRouter()
548 switch (mRole) in SendAdvertisement()
590 switch (mRole) in SendLinkRequest()
947 switch (mRole) in HandleLinkAccept()
1453 switch (mRole) in HandleParentRequest()
1591 switch (mRole) in HandleTimeTick()
2222 switch (mRole) in HandleChildIdRequest()
3279 switch (mRole) in RemoveRouterLink()
3639 VerifyOrExit(mRole == kRoleLeader, error = kErrorInvalidState); in HandleTmf()
[all …]
Dmle.cpp83 , mRole(kRoleDisabled) in Mle()
305 DeviceRole oldRole = mRole; in SetRole()
307 SuccessOrExit(Get<Notifier>().Update(mRole, aRole, kEventThreadRoleChanged)); in SetRole()
309 LogNote("Role %s -> %s", RoleToString(oldRole), RoleToString(mRole)); in SetRole()
315 switch (mRole) in SetRole()
475 networkInfo.SetRole(mRole); in Store()
1940 if (mRole == kRoleDetached && mLinkRequestAttempts > 0) in ScheduleMessageTransmissionTimer()
2005 if (mRole == kRoleDetached && mLinkRequestAttempts > 0) in HandleMessageTransmissionTimer()
2093 switch (mRole) in SendChildUpdateRequest()
3576 switch (mRole) in HandleChildUpdateResponse()
[all …]
/openthread-3.5.0/src/core/common/
Dsettings.hpp161 uint8_t GetRole(void) const { return mRole; } in GetRole()
169 void SetRole(uint8_t aRole) { mRole = aRole; } in SetRole()
327 uint8_t mRole; ///< Current Thread role. member in ot::SettingsBase::NetworkInfo
/openthread-3.5.0/include/openthread/
Dhistory_tracker.h83 otDeviceRole mRole; ///< Device Role. member
/openthread-3.5.0/src/core/utils/
Dhistory_tracker.cpp75 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo()
/openthread-3.5.0/src/cli/
Dcli_history.cpp380 ageString, otThreadDeviceRoleToString(info->mRole), in Process()