Uniot Core
0.8.1
Loading...
Searching...
No Matches
Crash Storage

Handles crash data storage and retrieval for ESP8266. More...

Collaboration diagram for Crash Storage:

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.
 

Detailed Description

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.

Function Documentation

◆ uniotCrashCallback()

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.

Parameters
resetInfoCrash reason and register information from ESP8266
stackStartStart address of the stack to be dumped
stackEndEnd address of the stack to be dumped