diff options
| author | Filip Wandzio <contact@philw.dev> | 2025-10-14 22:18:55 +0200 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2025-10-14 22:18:55 +0200 |
| commit | 4807e1cfe11dbedd7656e534e3995edb575129a6 (patch) | |
| tree | 48afc894f2b8c0ec1ad82ca433a77e4b247fa774 /firmware/include | |
| parent | 01713bbe20d2cf5aafbe5eb32721d3e4fc5823d8 (diff) | |
| download | e1-4807e1cfe11dbedd7656e534e3995edb575129a6.tar.gz e1-4807e1cfe11dbedd7656e534e3995edb575129a6.zip | |
Optimize mqtt rtt analysis method
Diffstat (limited to 'firmware/include')
| -rw-r--r-- | firmware/include/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/include/config.h b/firmware/include/config.h index 467e1f7..9672a38 100644 --- a/firmware/include/config.h +++ b/firmware/include/config.h | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | #ifndef CONFIG_H | 1 | #ifndef CONFIG_H |
| 2 | #define CONFIG_H | 2 | #define CONFIG_H |
| 3 | 3 | ||
| 4 | #define PUB_TOPIC "device/echo/in" | 4 | #define SUB_TOPIC "device/echo/in" |
| 5 | #define SUB_TOPIC "device/echo/out" | 5 | #define PUB_TOPIC "device/echo/out" |
| 6 | |||
| 6 | #define PUBLISH_INTERVAL_MS 1000 | 7 | #define PUBLISH_INTERVAL_MS 1000 |
| 7 | #define BUFFER_SIZE 32 | 8 | #define BUFFER_SIZE 32 |
| 8 | 9 | ||
| @@ -15,7 +16,7 @@ | |||
| 15 | #endif | 16 | #endif |
| 16 | 17 | ||
| 17 | #ifndef MQTT_URI | 18 | #ifndef MQTT_URI |
| 18 | #define MQTT_URI "mqtt://0.0.0.0" | 19 | #define MQTT_URI "mqtt://192.168.1.103" |
| 19 | #endif | 20 | #endif |
| 20 | 21 | ||
| 21 | #endif | 22 | #endif |
