diff --git a/source/client/nodemcu/statusclient/config.h b/source/client/nodemcu/statusclient/config.h index b078888..4281b2e 100644 --- a/source/client/nodemcu/statusclient/config.h +++ b/source/client/nodemcu/statusclient/config.h @@ -3,16 +3,16 @@ */ /* endpoint */ -#define SERVER_URL "status.kraut.space" -#define SERVER_PORT 10001 +constexpr static inline char const SERVER_URL[] = "status.kraut.space"; +constexpr static inline uint16_t SERVER_PORT = 10001; /* serial interface settings */ -#define BAUD_RATE 115200 -#define DEBUG true +constexpr static inline unsigned long BAUD_RATE = 115200; +constexpr static inline bool DEBUG = true; /* frequence to read the pin */ -#define FREQUENCY 5000 +constexpr static inline unsigned long FREQUENCY = 5000; /* time server settings */ -#define NTP_URL "pool.ntp.org" -#define TZ_STRING "CET-1CDT,M3.5.0,M10.5.0/3" +constexpr static inline char const NTP_URL[] = "pool.ntp.org"; +constexpr static inline char const TZ_STRING[] = "CET-1CEST,M3.5.0,M10.5.0/3"; \ No newline at end of file