openthread_sys

Function otThreadGetRouterIdRange

Source
pub unsafe extern "C" fn otThreadGetRouterIdRange(
    aInstance: *mut otInstance,
    aMinRouterId: *mut u8,
    aMaxRouterId: *mut u8,
)
Expand description

Gets the range of router IDs that are allowed to assign to nodes within the thread network.

@note This API requires OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE, and is only used for test purpose. All the router IDs in the range [aMinRouterId, aMaxRouterId] are allowed.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aMinRouterId The minimum router ID. @param[out] aMaxRouterId The maximum router ID.

@sa otThreadSetRouterIdRange