Gbox 4.20
Grow box automation and monitoring - <a href='https://sites.google.com/site/growboxguy/'>https://sites.google.com/site/growboxguy/</a>
 
Loading...
Searching...
No Matches
UserPage.ino File Reference
#include <EEPROM.h>
#include <ELClientWebServer.h>

Go to the source code of this file.

Macros

#define MAGIC   0xABEF
 
#define MAX_STR_LEN   32
 
#define EEPROM_POS_MAGIC   0
 
#define EEPROM_POS_FIRST_NAME   (EEPROM_POS_MAGIC + 2)
 
#define EEPROM_POS_LAST_NAME   (EEPROM_POS_FIRST_NAME + MAX_STR_LEN)
 
#define EEPROM_POS_AGE   (EEPROM_POS_LAST_NAME + MAX_STR_LEN)
 
#define EEPROM_POS_GENDER   (EEPROM_POS_AGE+1)
 
#define EEPROM_POS_NOTIFICATIONS   (EEPROM_POS_GENDER+1)
 

Functions

void userWriteStr (char *str, int ndx)
 
void userReadStr (char *str, int ndx)
 
void userSetFieldCb (const char *field)
 
void userLoadCb (const char *url)
 
void userInit ()
 

Macro Definition Documentation

◆ EEPROM_POS_AGE

#define EEPROM_POS_AGE   (EEPROM_POS_LAST_NAME + MAX_STR_LEN)

Definition at line 11 of file UserPage.ino.

◆ EEPROM_POS_FIRST_NAME

#define EEPROM_POS_FIRST_NAME   (EEPROM_POS_MAGIC + 2)

Definition at line 9 of file UserPage.ino.

◆ EEPROM_POS_GENDER

#define EEPROM_POS_GENDER   (EEPROM_POS_AGE+1)

Definition at line 12 of file UserPage.ino.

◆ EEPROM_POS_LAST_NAME

#define EEPROM_POS_LAST_NAME   (EEPROM_POS_FIRST_NAME + MAX_STR_LEN)

Definition at line 10 of file UserPage.ino.

◆ EEPROM_POS_MAGIC

#define EEPROM_POS_MAGIC   0

Definition at line 8 of file UserPage.ino.

◆ EEPROM_POS_NOTIFICATIONS

#define EEPROM_POS_NOTIFICATIONS   (EEPROM_POS_GENDER+1)

Definition at line 13 of file UserPage.ino.

◆ MAGIC

#define MAGIC   0xABEF

Definition at line 4 of file UserPage.ino.

◆ MAX_STR_LEN

#define MAX_STR_LEN   32

Definition at line 5 of file UserPage.ino.

Function Documentation

◆ userInit()

void userInit ( )

Definition at line 75 of file UserPage.ino.

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

◆ userLoadCb()

void userLoadCb ( const char *  url)

Definition at line 62 of file UserPage.ino.

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

◆ userReadStr()

void userReadStr ( char *  str,
int  ndx 
)

Definition at line 29 of file UserPage.ino.

Here is the caller graph for this function:

◆ userSetFieldCb()

void userSetFieldCb ( const char *  field)

Definition at line 43 of file UserPage.ino.

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

◆ userWriteStr()

void userWriteStr ( char *  str,
int  ndx 
)

Definition at line 16 of file UserPage.ino.

Here is the caller graph for this function: