OmEspHelpers
Public Member Functions | List of all members
OmEeprom Class Reference

Wrapper for eeprom, lets you structure fields and check signature. More...

#include <OmEeprom.h>

Public Member Functions

 OmEeprom (const char *signature)
 
void addField (const char *fieldName, EOmEepromFieldType type, uint8_t length)
 
void begin ()
 
bool get (const char *fieldName, void *valueOut)
 
bool put (const char *fieldName, const void *value)
 
bool commit ()
 
void dumpState ()
 
void addString (const char *fieldName, uint8_t length)
 
void addInt8 (const char *fieldName)
 
void addInt16 (const char *fieldName)
 
void addInt32 (const char *fieldName)
 
void set (const char *fieldName, String stringValue)
 
void set (const char *fieldName, int32_t intValue)
 
String getString (const char *fieldName)
 
int getInt (const char *fieldName)
 

Detailed Description

Wrapper for eeprom, lets you structure fields and check signature.

Member Function Documentation

◆ dumpState()

void OmEeprom::dumpState ( )

To help debug.


The documentation for this class was generated from the following files: