diff options
| author | Filip Wandzio <contact@philw.dev> | 2025-09-04 22:25:39 +0200 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2025-09-04 22:25:39 +0200 |
| commit | 1ba21da6cbc63c0c549fb92731e25bedc482eb51 (patch) | |
| tree | ddf6fc2259a2495f8de336a07873cc3c6796785e /firmware/include/config.h | |
| parent | e00f3a9ede1b8e46b480bd68daf48da0bb08acae (diff) | |
| download | e1-1ba21da6cbc63c0c549fb92731e25bedc482eb51.tar.gz e1-1ba21da6cbc63c0c549fb92731e25bedc482eb51.zip | |
Unify the directory, add new analysis methods, unify the code style
Signed-off-by: Filip Wandzio <contact@philw.dev>
Diffstat (limited to 'firmware/include/config.h')
| -rw-r--r-- | firmware/include/config.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/firmware/include/config.h b/firmware/include/config.h new file mode 100644 index 0000000..467e1f7 --- /dev/null +++ b/firmware/include/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #ifndef CONFIG_H | ||
| 2 | #define CONFIG_H | ||
| 3 | |||
| 4 | #define PUB_TOPIC "device/echo/in" | ||
| 5 | #define SUB_TOPIC "device/echo/out" | ||
| 6 | #define PUBLISH_INTERVAL_MS 1000 | ||
| 7 | #define BUFFER_SIZE 32 | ||
| 8 | |||
| 9 | #ifndef WIFI_SSID | ||
| 10 | #define WIFI_SSID "UNKNOWN" | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #ifndef WIFI_PASS | ||
| 14 | #define WIFI_PASS "UNKNOWN" | ||
| 15 | #endif | ||
| 16 | |||
| 17 | #ifndef MQTT_URI | ||
| 18 | #define MQTT_URI "mqtt://0.0.0.0" | ||
| 19 | #endif | ||
| 20 | |||
| 21 | #endif | ||
