/* * file: config.h */ /* endpoint */ const char* SERVER_URL = "your status server url"; const uint16_t SERVER_PORT = port; /* ssl debud level * esp_ssl_debug_none = 0 * esp_ssl_debug_error = 1 * esp_ssl_debug_warn = 2 * esp_ssl_debug_info = 3 * esp_ssl_debug_dump = 4 */ const uint8_t SSL_DEBUG_LEVEL = 3; /* ssl socket */ const int32_t TIMEOUT = 20; const int32_t SESSION_TIMEOUT = 6000; /* serial interface settings */ const unsigned long BAUD_RATE = 115200; /* pin and frequence to read the pin */ int REED_PIN = 47; const unsigned long FREQUENCY = 3000; /* time server settings */ const char* NTP_URL = "pool.ntp.org"; const int GTM_OFFSET_SEC = 3600; const unsigned long DAYLIGHT_OFFSET_SEC = 3600;