IsRouterEligible() const
Indicates whether or not the device is router-eligible.
SetRouterEligible()
Sets whether or not the device is router-eligible. If @p aEligible is false and the device is currently operating as a router, this call will cause the device to detach and attempt to reattach as a child.
IsSingleton() const
Indicates whether a node is the only router on the network.
BecomeRouter()
Generates an Address Solicit request for a Router ID.
BecomeLeader()
Becomes a leader and starts a new partition. If the device is already attached, this method can be used to attempt to take over as the leader, creating a new partition. For this to work, the local leader weight must be greater than the weight of the current leader. The @p aCheckWeight can be used to ensure that this check is performed.
GetDeviceProperties() const
Gets the device properties which are used to determine the Leader Weight.
SetDeviceProperties()
Sets the device properties which are then used to determine and set the Leader Weight.
GetLeaderWeight() const
Returns the Leader Weighting value for this Thread interface.
SetLeaderWeight()
Sets the Leader Weighting value for this Thread interface. Directly sets the Leader Weight to the new value replacing its previous value (which may have been determined from a previous call to `SetDeviceProperties()`).
GetPreferredLeaderPartitionId() const
Returns the preferred Partition Id when operating in the Leader role for certification testing.
SetPreferredLeaderPartitionId()
Sets the preferred Partition Id when operating in the Leader role for certification testing.
SetPreferredRouterId()
Sets the preferred Router Id. Upon becoming a router/leader the node attempts to use this Router Id. If the preferred Router Id is not set or if it can not be used, a randomly generated router Id is picked. This property can be set when he device role is detached or disabled.
GetPreviousPartitionId() const
Gets the Partition Id which the device joined successfully once.
SetPreviousPartitionId()
Sets the Partition Id which the device joins successfully.
SetRouterId()
Sets the Router Id.
GetNetworkIdTimeout() const
Returns the NETWORK_ID_TIMEOUT value.
SetNetworkIdTimeout()
Sets the NETWORK_ID_TIMEOUT value.
GetRouterSelectionJitter() const
Returns the ROUTER_SELECTION_JITTER value.
SetRouterSelectionJitter()
Sets the ROUTER_SELECTION_JITTER value.
IsRouterRoleTransitionPending() const
Indicates whether or not router role transition (upgrade from REED or downgrade to REED) is pending.
GetRouterRoleTransitionTimeout() const
Returns the current timeout delay in seconds till router role transition (upgrade from REED or downgrade to REED).
GetRouterUpgradeThreshold() const
Returns the ROUTER_UPGRADE_THRESHOLD value.
SetRouterUpgradeThreshold()
Sets the ROUTER_UPGRADE_THRESHOLD value.
GetRouterDowngradeThreshold() const
Returns the ROUTER_DOWNGRADE_THRESHOLD value.
SetRouterDowngradeThreshold()
Sets the ROUTER_DOWNGRADE_THRESHOLD value.
GetChildRouterLinks() const
Returns the MLE_CHILD_ROUTER_LINKS value.
SetChildRouterLinks()
Sets the MLE_CHILD_ROUTER_LINKS value.
IsExpectedToBecomeRouterSoon() const
Returns if the REED is expected to become Router soon.
RemoveNeighbor()
Removes a link to a neighbor.
RemoveRouterLink()
Invalidates a direct link to a neighboring router (due to failed link-layer acks).
ComparePartitions()
Indicates whether or not the given Thread partition attributes are preferred.
FillConnectivityTlv()
Fills an ConnectivityTlv.
SendChildUpdateRequest()
SendLinkRequest()
GetAssignParentPriority() const
Gets the assigned parent priority.
SetAssignParentPriority()
Sets the parent priority.
GetMaxChildTimeout() const
Gets the longest MLE Timeout TLV for all active MTD children.
SetDiscoveryRequestCallback()
Sets the callback that is called when processing an MLE Discovery Request message.
ResetAdvertiseInterval()
Resets the MLE Advertisement Trickle timer interval.
UpdateAdvertiseInterval()
Updates the MLE Advertisement Trickle timer max interval (if timer is running). This is called when there is change in router table.
GetMaxChildIpAddresses() const
Gets the maximum number of IP addresses that each MTD child may register with this device as parent.
SetMaxChildIpAddresses()
Sets/restores the maximum number of IP addresses that each MTD child may register with this device as parent.
SetCcmEnabled()
Sets whether the device was commissioned using CCM.
SetThreadVersionCheckEnabled()
Sets whether the Security Policy TLV version-threshold for routing (VR field) is enabled.
GetAdvertisementTrickleIntervalMax() const
Gets the current Interval Max value used by Advertisement trickle timer.
HandleDetachStart()
HandleChildStart()
HandleSecurityPolicyChanged()
HandleLinkRequest()
HandleLinkAccept()
HandleLinkAccept()
HandleLinkAcceptAndRequest()
HandleAdvertisementOnFtd()
HandleParentRequest()
HandleChildIdRequest()
HandleChildUpdateRequestOnParent()
HandleChildUpdateResponseOnParent()
HandleDataRequest()
HandleNetworkDataUpdateRouter()
HandleDiscoveryRequest()
ProcessRouteTlv()
ReadAndProcessRouteTlvOnFtdChild()
StopAdvertiseTrickleTimer()
DetermineAdvertiseIntervalMax() const
SendAddressSolicit()
SendAddressSolicitResponse()
SendAddressRelease()
SendAdvertisement()
SendLinkAccept()
SendParentResponse()
SendChildIdResponse()
SendChildUpdateRequest()
SendChildUpdateResponse()
SendDataResponse()
SendDiscoveryResponse()
SetStateRouter()
SetStateLeader()
SetStateRouterOrLeader()
StopLeader()
SynchronizeChildNetworkData()
ProcessAddressRegistrationTlv()
HasNeighborWithGoodLinkQuality() const
HandlePartitionChange()
SetChildStateToValid()
HasChildren()
RemoveChildren()
ShouldDowngrade() const
NeighborHasComparableConnectivity() const
HandleAdvertiseTrickleTimer()
HandleAddressSolicitResponse()
HandleTimeTick()
HandleTmf()
SignalDuaAddressEvent() const
IsMessageMleSubType()
IsMessageChildUpdateRequest()
HandleAdvertiseTrickleTimer()
HandleAddressSolicitResponse()