@@ -50,7 +50,9 @@ class BootstrapManager {
5050 // using JsonDocument = StaticJsonDocument<BUFFER_SIZE>;
5151 StaticJsonDocument<BUFFER_SIZE> parseQueueMsg (char * topic, byte* payload, unsigned int length); // print the message arriving from the queue
5252 StaticJsonDocument<BUFFER_SIZE> parseHttpMsg (String payload, unsigned int length); // print the message arriving from HTTP
53+ void littleFsInit ();
5354 void bootstrapSetup (void (*manageDisconnectionFunction)(), void (*manageHardwareButton)(), void (*callback)(char *, byte*, unsigned int )); // bootstrap setup()
55+ void bootstrapSetup (void (*manageDisconnectionFunction)(), void (*manageHardwareButton)(), void (*callback)(char *, byte*, unsigned int ), bool waitImprov, void (*listener)()); // bootstrap setup()
5456 void bootstrapLoop (void (*manageDisconnectionFunction)(), void (*manageQueueSubscription)(), void (*manageHardwareButton)()); // bootstrap loop()
5557 static void setMQTTWill (const char *topic, const char *payload, int qos, boolean retain, boolean cleanSession); // set the last will parameters for mqtt
5658 static void publish (const char *topic, const char *payload, boolean retained); // send a message on the queue
@@ -69,8 +71,9 @@ class BootstrapManager {
6971 [[maybe_unused]] String readValueFromFile (const String& filenameToUse, const String& paramName); // read a param from a json file
7072 static bool isWifiConfigured (); // check if wifi is correctly configured
7173 void launchWebServerForOTAConfig (); // if no ssid available, launch web server to get config params via browser
74+ void launchWebServerCustom (bool waitImprov, void (*listener)()); // if no ssid available, launch web server to get config params via browser
7275 static int getWifiQuality (); // get the wifi quality
73-
76+ void manageImprov ();
7477};
7578
7679#endif
0 commit comments