openthread_sys

Function otThreadIsRouterIdAllocated

Source
pub unsafe extern "C" fn otThreadIsRouterIdAllocated(
    aInstance: *mut otInstance,
    aRouterId: u8,
) -> bool
Expand description

Indicates whether or not a Router ID is currently allocated.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aRouterId The router ID to check.

@retval TRUE The @p aRouterId is allocated. @retval FALSE The @p aRouterId is not allocated.