openthread_sys

Function otThreadGetLocalLeaderWeight

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

Gets the Thread Leader Weight used when operating in the Leader role.

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

@returns The Thread Leader Weight value.

@sa otThreadSetLeaderWeight @sa otThreadSetDeviceProperties