diff options
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 | ||
