Home
last modified time | relevance | path

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

/openthread-latest/src/core/thread/
Dmle.hpp236 DeviceRole GetRole(void) const { return mRole; } in GetRole()
244 bool IsDisabled(void) const { return (mRole == kRoleDisabled); } in IsDisabled()
252 bool IsDetached(void) const { return (mRole == kRoleDetached); } in IsDetached()
260 bool IsChild(void) const { return (mRole == kRoleChild); } in IsChild()
268 bool IsRouter(void) const { return (mRole == kRoleRouter); } in IsRouter()
276 bool IsLeader(void) const { return (mRole == kRoleLeader); } in IsLeader()
1466 DeviceRole mRole; member in ot::Mle::Mle
Dmle_router.cpp177 switch (mRole) in SetRouterEligible()
249 switch (mRole) in BecomeRouter()
578 switch (mRole) in SendAdvertisement()
617 switch (mRole) in SendLinkRequest()
960 switch (mRole) in HandleLinkAcceptVariant()
1485 switch (mRole) in HandleParentRequest()
1603 switch (mRole) in HandleTimeTick()
2210 switch (mRole) in HandleChildIdRequest()
3227 switch (mRole) in RemoveRouterLink()
3521 VerifyOrExit(mRole == kRoleLeader, error = kErrorInvalidState); in HandleTmf()
[all …]
Dmle.cpp59 , mRole(kRoleDisabled) in Mle()
247 UpdateRoleTimeCounters(mRole); in GetCounters()
301 DeviceRole oldRole = mRole; in SetRole()
303 SuccessOrExit(Get<Notifier>().Update(mRole, aRole, kEventThreadRoleChanged)); in SetRole()
305 LogNote("Role %s -> %s", RoleToString(oldRole), RoleToString(mRole)); in SetRole()
316 switch (mRole) in SetRole()
478 networkInfo.SetRole(mRole); in Store()
484 mLastSavedRole = mRole; in Store()
1221 … if (!channelMask.ContainsChannel(Get<Mac::Mac>().GetPanChannel()) && (mRole != kRoleDisabled)) in HandleNotifierEvents()
2005 switch (mRole) in SendChildUpdateRequestToParent()
[all …]
/openthread-latest/src/core/common/
Dsettings.hpp155 uint8_t GetRole(void) const { return mRole; } in GetRole()
162 void SetRole(uint8_t aRole) { mRole = aRole; } in SetRole()
302 uint8_t mRole; ///< Current Thread role. member in ot::SettingsBase::NetworkInfo
/openthread-latest/include/openthread/
Dhistory_tracker.h79 otDeviceRole mRole; ///< Device Role. member
/openthread-latest/src/core/utils/
Dhistory_tracker.cpp67 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo()
/openthread-latest/src/cli/
Dcli_history.cpp676 ageString, otThreadDeviceRoleToString(info->mRole), in Process()