[−][src]Function openthread_sys::otThreadSetLocalLeaderWeight
pub unsafe extern "C" fn otThreadSetLocalLeaderWeight(
aInstance: *mut otInstance,
aWeight: u8
)
Set the Thread Leader Weight used when operating in the Leader role.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aWeight The Thread Leader Weight value.
@sa otThreadGetLeaderWeight