ot::RouterTable::SetRouterIdRange() method
Sets the range of Router IDs. All the Router IDs in the range `[aMinRouterId, aMaxRouterId]` are allowed. This is intended for testing only.
Arguments
aMinRouterId
The minimum Router ID.
aMaxRouterId
The maximum Router ID.
Return value
kErrorNone Successfully set the Router ID range. kErrorInvalidArgs The given range is not valid.
ot::RouterTable::SetRouterIdRange() reads 3 variables and writes 2 variables:
![]()
ot::RouterTable::SetRouterIdRange()