![]() |
|
Uniot Core
|
| 0.8.1 |
Handles crash data storage and retrieval for ESP8266. More...
Classes | |
| class | uniot::CrashStorage |
| Handles crash data storage and retrieval for ESP8266. More... | |
Functions | |
| void | uniot::uniotCrashCallback (struct rst_info *resetInfo, uint32_t stackStart, uint32_t stackEnd) |
| ESP8266 crash callback function registered with system. | |
Handles crash data storage and retrieval for ESP8266.
This file defines the CrashStorage class, which is responsible for capturing and storing crash information from the ESP8266 system. It includes methods for saving crash data to persistent storage, cleaning up crash data, and printing crash information to Serial.
| void uniot::uniotCrashCallback | ( | struct rst_info * | resetInfo, |
| uint32_t | stackStart, | ||
| uint32_t | stackEnd ) |
ESP8266 crash callback function registered with system.
Called by the ESP8266 system when a crash occurs to save crash information to persistent storage for later analysis.
| resetInfo | Crash reason and register information from ESP8266 |
| stackStart | Start address of the stack to be dumped |
| stackEnd | End address of the stack to be dumped |