|
|
@@ -218,83 +218,33 @@ menu "Wi-Fi"
|
|
|
help
|
|
|
Set the number of WiFi management short buffer.
|
|
|
|
|
|
- config ESP32_WIFI_DEBUG_LOG_ENABLE
|
|
|
- bool "Enable WiFi debug log"
|
|
|
- default n
|
|
|
- help
|
|
|
- Select this option to enable WiFi debug log
|
|
|
-
|
|
|
- choice ESP32_WIFI_DEBUG_LOG_LEVEL
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_ENABLE
|
|
|
- prompt "WiFi debug log level"
|
|
|
- default ESP32_WIFI_DEBUG_LOG_DEBUG
|
|
|
- help
|
|
|
- The WiFi log is divided into the following levels: ERROR,WARNING,INFO,DEBUG,VERBOSE.
|
|
|
- The ERROR,WARNING,INFO levels are enabled by default, and the DEBUG,VERBOSE levels can be enabled here.
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_DEBUG
|
|
|
- bool "WiFi Debug Log Debug"
|
|
|
- config ESP32_WIFI_DEBUG_LOG_VERBOSE
|
|
|
- bool "WiFi Debug Log Verbose"
|
|
|
+ choice ESP32_WIFI_LOG_DEFAULT_LEVEL
|
|
|
+ bool "WiFi default log level"
|
|
|
+ default WIFI_LOG_DEFAULT_LEVEL_INFO
|
|
|
+ help
|
|
|
+ Specify how much output to see in logs by default.
|
|
|
+ You can set lower verbosity level at runtime using
|
|
|
+ esp_log_level_set function.
|
|
|
+
|
|
|
+ Note that this setting limits which log statements
|
|
|
+ are compiled into the program. So setting this to, say,
|
|
|
+ "Warning" would mean that changing log level to "Debug"
|
|
|
+ at runtime will not be possible.
|
|
|
+
|
|
|
+ config WIFI_LOG_DEFAULT_LEVEL_NONE
|
|
|
+ bool "No output"
|
|
|
+ config WIFI_LOG_DEFAULT_LEVEL_ERROR
|
|
|
+ bool "Error"
|
|
|
+ config WIFI_LOG_DEFAULT_LEVEL_WARN
|
|
|
+ bool "Warning"
|
|
|
+ config WIFI_LOG_DEFAULT_LEVEL_INFO
|
|
|
+ bool "Info"
|
|
|
+ config WIFI_LOG_DEFAULT_LEVEL_DEBUG
|
|
|
+ bool "Debug"
|
|
|
+ config WIFI_LOG_DEFAULT_LEVEL_VERBOSE
|
|
|
+ bool "Verbose"
|
|
|
endchoice
|
|
|
|
|
|
- choice ESP32_WIFI_DEBUG_LOG_MODULE
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_ENABLE
|
|
|
- prompt "WiFi debug log module"
|
|
|
- default ESP32_WIFI_DEBUG_LOG_MODULE_WIFI
|
|
|
- help
|
|
|
- The WiFi log module contains three parts: WIFI,COEX,MESH. The WIFI module indicates the logs related to
|
|
|
- WiFi, the COEX module indicates the logs related to WiFi and BT(or BLE) coexist, the MESH module indicates
|
|
|
- the logs related to Mesh. When ESP32_WIFI_LOG_MODULE_ALL is enabled, all modules are selected.
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_MODULE_ALL
|
|
|
- bool "WiFi Debug Log Module All"
|
|
|
- config ESP32_WIFI_DEBUG_LOG_MODULE_WIFI
|
|
|
- bool "WiFi Debug Log Module WiFi"
|
|
|
- config ESP32_WIFI_DEBUG_LOG_MODULE_COEX
|
|
|
- bool "WiFi Debug Log Module Coex"
|
|
|
- config ESP32_WIFI_DEBUG_LOG_MODULE_MESH
|
|
|
- bool "WiFi Debug Log Module Mesh"
|
|
|
- endchoice
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_SUBMODULE
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_ENABLE
|
|
|
- bool "WiFi debug log submodule"
|
|
|
- default n
|
|
|
- help
|
|
|
- Enable this option to set the WiFi debug log submodule.
|
|
|
- Currently the log submodule contains the following parts: INIT,IOCTL,CONN,SCAN.
|
|
|
- The INIT submodule indicates the initialization process.The IOCTL submodule indicates the API calling
|
|
|
- process.
|
|
|
- The CONN submodule indicates the connecting process.The SCAN submodule indicates the scaning process.
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_SUBMODULE_ALL
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_SUBMODULE
|
|
|
- bool "WiFi Debug Log Submodule All"
|
|
|
- default n
|
|
|
- help
|
|
|
- When this option is enabled, all debug submodules are selected.
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_SUBMODULE_INIT
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_SUBMODULE && (!ESP32_WIFI_DEBUG_LOG_SUBMODULE_ALL)
|
|
|
- bool "WiFi Debug Log Submodule Init"
|
|
|
- default n
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_SUBMODULE_IOCTL
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_SUBMODULE && (!ESP32_WIFI_DEBUG_LOG_SUBMODULE_ALL)
|
|
|
- bool "WiFi Debug Log Submodule Ioctl"
|
|
|
- default n
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_SUBMODULE_CONN
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_SUBMODULE && (!ESP32_WIFI_DEBUG_LOG_SUBMODULE_ALL)
|
|
|
- bool "WiFi Debug Log Submodule Conn"
|
|
|
- default n
|
|
|
-
|
|
|
- config ESP32_WIFI_DEBUG_LOG_SUBMODULE_SCAN
|
|
|
- depends on ESP32_WIFI_DEBUG_LOG_SUBMODULE && (!ESP32_WIFI_DEBUG_LOG_SUBMODULE_ALL)
|
|
|
- bool "WiFi Debug Log Submodule Scan"
|
|
|
- default n
|
|
|
-
|
|
|
config ESP32_WIFI_IRAM_OPT
|
|
|
bool "WiFi IRAM speed optimization"
|
|
|
default n if (BT_ENABLED && ESP32_SPIRAM_SUPPORT)
|