mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
MQTT keep alive to 60 seconds and clean session disabled to retain subscriptions/sessions - https://github.com/proddy/EMS-ESP/issues/421#issuecomment-660445223
This commit is contained in:
@@ -38,8 +38,8 @@ build_flags =
|
|||||||
-D FACTORY_MQTT_PASSWORD=\"\"
|
-D FACTORY_MQTT_PASSWORD=\"\"
|
||||||
; if unspecified the devices hardware ID will be used
|
; if unspecified the devices hardware ID will be used
|
||||||
-D FACTORY_MQTT_CLIENT_ID=\"ems-esp\"
|
-D FACTORY_MQTT_CLIENT_ID=\"ems-esp\"
|
||||||
-D FACTORY_MQTT_KEEP_ALIVE=16
|
-D FACTORY_MQTT_KEEP_ALIVE=60
|
||||||
-D FACTORY_MQTT_CLEAN_SESSION=true
|
-D FACTORY_MQTT_CLEAN_SESSION=false
|
||||||
-D FACTORY_MQTT_MAX_TOPIC_LENGTH=128
|
-D FACTORY_MQTT_MAX_TOPIC_LENGTH=128
|
||||||
|
|
||||||
; JWT Secret
|
; JWT Secret
|
||||||
|
|||||||
Reference in New Issue
Block a user