aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
new file mode 100644
index 0000000..467e1f7
--- /dev/null
+++ b/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