openthread_sys

Function otThreadIsSingleton

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

Indicates whether a node is the only router on the network.

@param[in] aInstance A pointer to an OpenThread instance.

@retval TRUE It is the only router in the network. @retval FALSE It is a child or is not a single router in the network.