|
@@ -59,18 +59,18 @@ struct sleepTimings_t { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct config_t { |
|
|
struct config_t { |
|
|
uint8_t seed; |
|
|
|
|
|
char version[5]; |
|
|
|
|
|
uint16_t firstEntry; |
|
|
|
|
|
uint16_t lastEntry; |
|
|
|
|
|
|
|
|
uint8_t seed; //sizeof = 1 |
|
|
|
|
|
char version[5]; //sizeof = 5 |
|
|
|
|
|
uint16_t firstEntry; //sizeof = 2 |
|
|
|
|
|
uint16_t lastEntry; //sizeof = 2 |
|
|
#if BACKUP_ENABLE_NETWORK |
|
|
#if BACKUP_ENABLE_NETWORK |
|
|
networkConfig_t network; |
|
|
|
|
|
|
|
|
networkConfig_t network; //sizeof = 73 |
|
|
#endif |
|
|
#endif |
|
|
uint8_t alertBatteryLevel1; |
|
|
|
|
|
uint8_t alertBatteryLevel2; |
|
|
|
|
|
uint8_t alertBatteryLevelClear; |
|
|
|
|
|
char contactPhone[15]; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
uint8_t alertBatteryLevel1; //sizeof = 1 |
|
|
|
|
|
uint8_t alertBatteryLevel2; //sizeof = 1 |
|
|
|
|
|
uint8_t alertBatteryLevelClear; //sizeof = 1 |
|
|
|
|
|
char contactPhone[15]; //sizeof = 15 |
|
|
|
|
|
}; //sizeof = 28 + 73 = 101 |
|
|
|
|
|
|
|
|
namespace config { |
|
|
namespace config { |
|
|
|
|
|
|
|
|