format FS if begin() fail, to avoid setting lost when FS is not mounted

add of timeout parameter
This commit is contained in:
1technophile committed 2019-07-29 08:12:07 +02:00
1 parent 6795475e03
commit e20339857e
3 files changed
+33 -29

No files matched your search

+2 -1
View File
@@ -57,6 +57,7 @@
#define WifiManager_password "your_password" //this is going to be the WPA2-PSK password for the initial setup access point
#define WifiManager_ssid "OpenMQTTGateway" //this is the network name of the initial setup access point
#define WifiManager_ConfigPortalTimeOut 120
#define WifiManager_TimeOut 5
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
//MQTT Parameters definition
@@ -254,4 +255,4 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress
#define TimeBetweenReadingSYS 120000 // time between system readings (like memory)
#define subjectSYStoMQTT Base_Topic Gateway_Name "/SYStoMQTT"
#endif
#endif