OpenDevice
Open IoT (Internet Of Things) Platform and Framework http://opendevice.io
od::ConfigClass Struct Reference

Public Member Functions

void load ()
 
void save ()
 
void clear ()
 
bool check ()
 

Public Attributes

char version [4]
 
char moduleName [15]
 
char server [25]
 
char appID [36]
 
byte id [6]
 
byte ip [4]
 
uint8_t pinReset
 
bool debugMode
 
bool keepAlive
 
uint8_t debugTarget
 
uint8_t connectionMode
 
int8_t devicesLength
 
uint16_t devices [MAX_DEVICE]
 

Detailed Description

OpenDevice dynamic configuration options. (See defaults in config.cpp file).

Member Function Documentation

◆ check()

bool od::ConfigClass::check ( )

Check if exist a valid configuration (memory layout) in EEPROM

◆ clear()

void od::ConfigClass::clear ( )

Clear saved setings

◆ load()

void od::ConfigClass::load ( )

Load configuration from storage (EEPROM). Check if exist, if not, use default values

◆ save()

void od::ConfigClass::save ( )

Save current configuration to storage


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