|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | ESP32InternalGPIOPin |
| class | ESP32PreferenceBackend |
| class | ESP32Preferences |
Functions | |
| ESPHOME_LOG_TAG (TAG, CRASH_LOG_TAG) | |
| bool | crash_handler_has_data () |
| Returns true if crash data was found this boot, reading it first if needed. | |
| void | crash_handler_clear () |
| Clear the magic marker and mark crash data as consumed. | |
| void | crash_handler_log () |
| Log crash data if a crash was detected on previous boot. | |
| ESPHOME_LOG_TAG (TAG, "esp32") | |
| ESP32Preferences * | get_preferences () |
| ESPHOME_LOG_TAG (TAG, "preferences") | |
| void | setup_preferences () |
Variables | |
| constexpr const char * | CRASH_LOG_TAG = "esp32.crash" |
| The tag the crash record is logged under, so a client can check the level in force for it. | |
| void esphome::esp32::crash_handler_clear | ( | ) |
Clear the magic marker and mark crash data as consumed.
Call after the data has been delivered to an API client.
Definition at line 208 of file crash_handler.cpp.
| bool esphome::esp32::crash_handler_has_data | ( | ) |
Returns true if crash data was found this boot, reading it first if needed.
Definition at line 203 of file crash_handler.cpp.
| void esphome::esp32::crash_handler_log | ( | ) |
Log crash data if a crash was detected on previous boot.
Definition at line 433 of file crash_handler.cpp.
| esphome::esp32::ESPHOME_LOG_TAG | ( | TAG | , |
| "esp32" | ) |
| esphome::esp32::ESPHOME_LOG_TAG | ( | TAG | , |
| "preferences" | ) |
| esphome::esp32::ESPHOME_LOG_TAG | ( | TAG | , |
| CRASH_LOG_TAG | ) |
| ESP32Preferences * esphome::esp32::get_preferences | ( | ) |
Definition at line 312 of file preferences.cpp.
| void esphome::esp32::setup_preferences | ( | ) |
Definition at line 314 of file preferences.cpp.
|
inlineconstexpr |
The tag the crash record is logged under, so a client can check the level in force for it.
Definition at line 8 of file crash_handler.h.