esp32: add esp_wifi_get_critical_event

This commit is contained in:
liu zhifu
2020-09-30 17:03:18 +08:00
committed by maojianxin
parent 125c5fda62
commit b3659a8f3c
2 changed files with 12 additions and 1 deletions

View File

@@ -329,6 +329,17 @@ esp_err_t esp_wifi_internal_get_log(wifi_log_level_t *log_level, uint32_t *log_m
*/
esp_err_t esp_wifi_internal_statistic_dump(void);
/**
* @brief Get WiFi critical event bitmap
*
* @attention This API is use to check whether the critical and very-hard-to-reproduce
* issue is happened.
*
* @return critical event bitmap
*/
uint32_t esp_wifi_get_critical_event(void);
#ifdef __cplusplus
}
#endif