Home
last modified time | relevance | path

Searched refs:aRole (Results 1 – 9 of 9) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dmle_types.cpp155 const char *RoleToString(DeviceRole aRole) in RoleToString() argument
171 return (aRole < GetArrayLength(kRoleStrings)) ? kRoleStrings[aRole] : "invalid"; in RoleToString()
Dmle_router.hpp630 void SetStateRouterOrLeader(DeviceRole aRole, uint16_t aRloc16, LeaderStartMode aStartMode);
Dmle.hpp1466 void SetRole(DeviceRole aRole);
2063 void UpdateRoleTimeCounters(DeviceRole aRole);
Dmle_types.hpp754 const char *RoleToString(DeviceRole aRole);
Dmle_router.cpp383 void MleRouter::SetStateRouterOrLeader(DeviceRole aRole, uint16_t aRloc16, LeaderStartMode aStartMo… in SetStateRouterOrLeader() argument
385 if (aRole == kRoleLeader) in SetStateRouterOrLeader()
393 SetRole(aRole); in SetStateRouterOrLeader()
406 if (aRole == kRoleLeader) in SetStateRouterOrLeader()
Dmle.cpp272 void Mle::UpdateRoleTimeCounters(DeviceRole aRole) in UpdateRoleTimeCounters() argument
281 switch (aRole) in UpdateRoleTimeCounters()
302 void Mle::SetRole(DeviceRole aRole) in SetRole() argument
306 SuccessOrExit(Get<Notifier>().Update(mRole, aRole, kEventThreadRoleChanged)); in SetRole()
/openthread-3.4.0/src/core/common/
Dsettings.hpp169 void SetRole(uint8_t aRole) { mRole = aRole; } in SetRole() argument
/openthread-3.4.0/src/core/api/
Dthread_api.cpp310 const char *otThreadDeviceRoleToString(otDeviceRole aRole) { return Mle::RoleToString(MapEnum(aRole in otThreadDeviceRoleToString() argument
/openthread-3.4.0/include/openthread/
Dthread.h791 const char *otThreadDeviceRoleToString(otDeviceRole aRole);