Function esp_idf_svc::hal::sys::esp_mesh_get_network_duty_cycle

source ยท
pub unsafe extern "C" fn esp_mesh_get_network_duty_cycle(
    nwk_duty: *mut i32,
    duration_mins: *mut i32,
    dev_duty_type: *mut i32,
    applied_rule: *mut i32,
) -> i32
Expand description

@brief Get the network duty cycle, duration, type and rule

@param[out] nwk_duty current network duty cycle @param[out] duration_mins the duration of current nwk_duty @param[out] dev_duty_type if it includes MESH_PS_DEVICE_DUTY_MASTER, this device is the current NWK-DUTY-MASTER. @param[out] applied_rule MESH_PS_NETWORK_DUTY_APPLIED_ENTIRE

@return

  • ESP_OK