Function esp_idf_hal::sys::esp_wifi_internal_set_log_mod

source ยท
pub unsafe extern "C" fn esp_wifi_internal_set_log_mod(
    module: u32,
    submodule: u32,
    enable: bool,
) -> i32
Expand description

@brief Set current log module and submodule

@param module Log module @param submodule Log submodule @param enable enable or disable If module == 0 && enable == 0, all log modules are disabled. If module == 0 && enable == 1, all log modules are enabled. If submodule == 0 && enable == 0, all log submodules are disabled. If submodule == 0 && enable == 1, all log submodules are enabled.

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_INVALID_ARG: invalid argument