ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
Settings_ESP3D Class Reference

#include <settings_esp3d.h>

Public Member Functions

 Settings_ESP3D ()
 
 ~Settings_ESP3D ()
 

Static Public Member Functions

static bool begin ()
 
static uint8_t get_default_byte_value (int pos)
 
static uint32_t get_default_int32_value (int pos)
 
static uint32_t get_default_IP_value (int pos)
 
static const String & get_default_string_value (int pos)
 
static uint8_t get_max_string_size (int pos)
 
static uint8_t get_min_string_size (int pos)
 
static uint32_t get_max_int32_value (int pos)
 
static uint32_t get_min_int32_value (int pos)
 
static uint8_t get_max_byte (int pos)
 
static uint8_t get_min_byte (int pos)
 
static uint8_t read_byte (int pos, bool *haserror=NULL)
 
static uint32_t read_uint32 (int pos, bool *haserror=NULL)
 
static uint32_t read_IP (int pos, bool *haserror=NULL)
 
static String read_IP_String (int pos, bool *haserror=NULL)
 
static const char * read_string (int pos, bool *haserror=NULL)
 
static bool write_byte (int pos, const uint8_t value)
 
static bool write_string (int pos, const char *byte_buffer)
 
static bool write_uint32 (int pos, const uint32_t value)
 
static bool write_IP (int pos, const uint32_t value)
 
static bool write_IP_String (int pos, const char *value)
 
static bool reset ()
 
static int8_t GetSettingsVersion ()
 
static uint8_t GetFirmwareTarget (bool fromsettings=false)
 
static uint8_t GetSDDevice (bool fromsettings=false)
 
static const char * GetFirmwareTargetShortName ()
 
static String IPtoString (uint32_t ip_int)
 
static uint32_t StringtoIP (const char *s)
 
static const char * TargetBoard ()
 
static bool isLocalPasswordValid (const char *password)
 

Detailed Description

Definition at line 102 of file settings_esp3d.h.

Constructor & Destructor Documentation

◆ Settings_ESP3D()

Settings_ESP3D::Settings_ESP3D ( )

Definition at line 164 of file settings_esp3d.cpp.

◆ ~Settings_ESP3D()

Settings_ESP3D::~Settings_ESP3D ( )

Definition at line 167 of file settings_esp3d.cpp.

Member Function Documentation

◆ begin()

bool Settings_ESP3D::begin ( )
static

Definition at line 171 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_default_byte_value()

uint8_t Settings_ESP3D::get_default_byte_value ( int  pos)
static

Definition at line 225 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_default_int32_value()

uint32_t Settings_ESP3D::get_default_int32_value ( int  pos)
static

Definition at line 342 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_default_IP_value()

uint32_t Settings_ESP3D::get_default_IP_value ( int  pos)
static

Definition at line 548 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_default_string_value()

const String & Settings_ESP3D::get_default_string_value ( int  pos)
static

Definition at line 554 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_max_byte()

uint8_t Settings_ESP3D::get_max_byte ( int  pos)
static

Definition at line 507 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_max_int32_value()

uint32_t Settings_ESP3D::get_max_int32_value ( int  pos)
static

Definition at line 416 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_max_string_size()

uint8_t Settings_ESP3D::get_max_string_size ( int  pos)
static

Definition at line 617 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_min_byte()

uint8_t Settings_ESP3D::get_min_byte ( int  pos)
static

Definition at line 527 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_min_int32_value()

uint32_t Settings_ESP3D::get_min_int32_value ( int  pos)
static

Definition at line 462 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ get_min_string_size()

uint8_t Settings_ESP3D::get_min_string_size ( int  pos)
static

Definition at line 668 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ GetFirmwareTarget()

uint8_t Settings_ESP3D::GetFirmwareTarget ( bool  fromsettings = false)
static

Definition at line 183 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFirmwareTargetShortName()

const char * Settings_ESP3D::GetFirmwareTargetShortName ( )
static

Definition at line 203 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ GetSDDevice()

uint8_t Settings_ESP3D::GetSDDevice ( bool  fromsettings = false)
static

Definition at line 191 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSettingsVersion()

int8_t Settings_ESP3D::GetSettingsVersion ( )
static

Definition at line 1188 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IPtoString()

String Settings_ESP3D::IPtoString ( uint32_t  ip_int)
static

Definition at line 1219 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ isLocalPasswordValid()

bool Settings_ESP3D::isLocalPasswordValid ( const char *  password)
static

Definition at line 1236 of file settings_esp3d.cpp.

◆ read_byte()

uint8_t Settings_ESP3D::read_byte ( int  pos,
bool *  haserror = NULL 
)
static

Definition at line 715 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_IP()

uint32_t Settings_ESP3D::read_IP ( int  pos,
bool *  haserror = NULL 
)
static

Definition at line 958 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_IP_String()

String Settings_ESP3D::read_IP_String ( int  pos,
bool *  haserror = NULL 
)
static

Definition at line 964 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_string()

const char * Settings_ESP3D::read_string ( int  pos,
bool *  haserror = NULL 
)
static

Definition at line 794 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_uint32()

uint32_t Settings_ESP3D::read_uint32 ( int  pos,
bool *  haserror = NULL 
)
static

Definition at line 919 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

bool Settings_ESP3D::reset ( )
static

Definition at line 1014 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StringtoIP()

uint32_t Settings_ESP3D::StringtoIP ( const char *  s)
static

Definition at line 1208 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ TargetBoard()

const char * Settings_ESP3D::TargetBoard ( )
static

Definition at line 1226 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ write_byte()

bool Settings_ESP3D::write_byte ( int  pos,
const uint8_t  value 
)
static

Definition at line 749 of file settings_esp3d.cpp.

Here is the caller graph for this function:

◆ write_IP()

bool Settings_ESP3D::write_IP ( int  pos,
const uint32_t  value 
)
static

Definition at line 1008 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_IP_String()

bool Settings_ESP3D::write_IP_String ( int  pos,
const char *  value 
)
static

Definition at line 1202 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_string()

bool Settings_ESP3D::write_string ( int  pos,
const char *  byte_buffer 
)
static

Definition at line 870 of file settings_esp3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_uint32()

bool Settings_ESP3D::write_uint32 ( int  pos,
const uint32_t  value 
)
static

Definition at line 970 of file settings_esp3d.cpp.

Here is the caller graph for this function:

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