Searched refs:mRole (Results 1 – 7 of 7) sorted by relevance
225 DeviceRole GetRole(void) const { return mRole; } in GetRole()234 bool IsDisabled(void) const { return (mRole == kRoleDisabled); } in IsDisabled()243 bool IsDetached(void) const { return (mRole == kRoleDetached); } in IsDetached()252 bool IsChild(void) const { return (mRole == kRoleChild); } in IsChild()261 bool IsRouter(void) const { return (mRole == kRoleRouter); } in IsRouter()270 bool IsLeader(void) const { return (mRole == kRoleLeader); } in IsLeader()1601 DeviceRole mRole; ///< Current Thread role. member in ot::Mle::Mle
148 switch (mRole) in SetRouterEligible()185 switch (mRole) in BecomeRouter()472 switch (mRole) in SendAdvertisement()513 switch (mRole) in SendLinkRequest()886 switch (mRole) in HandleLinkAccept()1239 switch (mRole) in HandleAdvertisement()1278 switch (mRole) in HandleAdvertisement()1631 switch (mRole) in HandleParentRequest()1730 switch (mRole) in HandleTimeTick()2330 switch (mRole) in HandleChildIdRequest()[all …]
67 , mRole(kRoleDisabled) in Mle()274 DeviceRole oldRole = mRole; in SetRole()276 SuccessOrExit(Get<Notifier>().Update(mRole, aRole, kEventThreadRoleChanged)); in SetRole()278 otLogNoteMle("Role %s -> %s", RoleToString(oldRole), RoleToString(mRole)); in SetRole()280 switch (mRole) in SetRole()421 networkInfo.SetRole(mRole); in Store()769 switch (mRole) in SetDeviceMode()2341 switch (mRole) in SendChildUpdateRequest()2999 switch (mRole) in HandleAdvertisement()3797 switch (mRole) in HandleChildUpdateResponse()[all …]
87 otDeviceRole mRole; ///< Device Role. member
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
65 entry->mRole = static_cast<otDeviceRole>(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo()
183 ageString, otThreadDeviceRoleToString(info->mRole), in ProcessNetInfo()