[][src]Function openthread_sys::otThreadIsSingleton

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

This function 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.