MQTT parameters tweak

This commit is contained in:
strawmanbobi
2024-01-12 10:54:31 +08:00
parent f81a3f6b2e
commit 573a94e84f
4 changed files with 25 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ typedef unsigned char uint8_t;
/* ----------------- iot settings -----------------*/
#define MQTT_HOST_REL "iot.irext.net"
#define MQTT_CHECK_INTERVALS (30)
#define MQTT_CHECK_INTERVALS (120)
#define MQTT_CONNECT_WAIT_TIME (20000)
#define MQTT_RETRY_DELAY (5000)
#define MQTT_RETRY_MAX (5)