Searched refs:mRole (Results 1 – 7 of 7) sorted by relevance
242 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
167 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 …]
83 , 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 …]
161 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
83 otDeviceRole mRole; ///< Device Role. member
75 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo()
380 ageString, otThreadDeviceRoleToString(info->mRole), in Process()