I have a Generic code for some IOT devices which vary in some parameters ( lets say it is only its MQTT name and subscriptions).
Since I use OTA to update sketch, I'm looking for a way to A) write those parameters into the ESP32/ ESP8266 FS, and B) They will survive an update.
My only solution come into mind is using an SD card which does not get erased after OTA, and I'm looking for a way doing it not involving SD or external memory.
Guy