pub unsafe extern "C" fn otThreadSetDeviceProperties(
    aInstance: *mut otInstance,
    aDeviceProperties: *const otDeviceProperties
)
Expand description

Set the device properties which are then used to determine and set the Leader Weight.

Requires OPENTHREAD_CONFIG_MLE_DEVICE_PROPERTY_LEADER_WEIGHT_ENABLE.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDeviceProperties The device properties.