Function esp_idf_sys::esp_mesh_get_network_duty_cycle

source ยท
pub unsafe extern "C" fn esp_mesh_get_network_duty_cycle(
    nwk_duty: *mut c_int,
    duration_mins: *mut c_int,
    dev_duty_type: *mut c_int,
    applied_rule: *mut c_int,
) -> esp_err_t
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