ot::Mle::MleRouter::SetRouterEligible() method
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.
Arguments
aEligible
TRUE to configure device router-eligible, FALSE otherwise.
Return value
kErrorNone Successfully set the router-eligible configuration. kErrorNotCapable The device is not capable of becoming a router.
ot::Mle::MleRouter::SetRouterEligible() calls 1 function:
![]()
ot::Mle::MleRouter::SetRouterEligible()
ot::Mle::MleRouter::SetRouterEligible() reads 12 variables and writes 1 variable:
![]()
ot::Mle::MleRouter::SetRouterEligible()