I suggest the following improvements on your "boot as AP first" code. - Set the MQTT port to 1883 by default - In addition to the "Boot as AP on GPIO 0, add a "Clear EEPROM" function on another GPIO And of course, FOTA :)
I suggest the following improvements on your "boot as AP first" code.
And of course, FOTA :)