hannabox/src/globals.h

52 lines
1.1 KiB
C

#ifndef GLOBALS_H_
#define GLOBALS_H_
static const char* sys_dir = "system";
static const char* sleep_sound = "sleep.mp3";
static const char* startup_sound = "start.mp3";
static const char* index_file = "index.html";
static const char* style_file = "style.css";
static const char* script_file = "script.js";
static const char* mapping_file = "mapping.txt";
static const char* progress_file = "progress.txt";
static const char* config_file = "config.txt";
static const char* txt_html_charset = "text/html; charset=UTF-8";
static const char* txt_plain = "text/plain; charset=UTF-8";
static const char* hdr_cache_control_key = "Cache-Control";
static const char* hdr_cache_control_val = "no-store";
static const char* hdr_connection_key = "Connection";
static const char* hdr_connection_val = "close";
const size_t buffer_size = 256;
/*
const long sleepMessageDelay = 28000;
// wait until deep sleep:
const long sleepDelay = 30000;
*/
const long sleepMessageDelay = 1798000;
//const long sleepMessageDelay = 22000;
// wait until deep sleep:1800000
const long sleepDelay = 1800000;
//const long sleepDelay = 25000;
#endif