@stanlaybin when you say set via COM do you mean via Serial Monitor, via the Arduino’s Com port or some other way?
Would you also be wanting to set the Blynk token via “COM” or would that remain fixed wherever you are i.e. is your project just for your use or would others have a Blynk token for their use?
I knocked up a very crude system that might do what you want. With Droid Term app on a Smartphone you can pass WiFi and Blynk credentials to an Arduino on the fly via a USB cable. Search the forum for “Droid Term” and it should come up but the code needs a lot of work as it was just a quick hack done as a proof of concept.
Testing the code, work normally, however if I need to change the SSID and PWD by other, I can’t because the last configuration remained and I don’t know why.
Tried to clear eeprom to see if this erase the las SSID and PWD, but not worked.
Only if I use other sketch setting up manually I can erase the SSID and PWD.
Was used the SERIAL PORT to set SSID, PWD and TOKEN.
I tried to do a code that is possible to set SSID and PWD by Serial, in my code I can set SSID and PWD, but if I need to change the WiFi credentials, is necessary to change the SSID and PWD too, and would like to do this using the Serial Port.
In my code I have the same issue with the code posted in Topic DroidTerm.
After set the SSID and PWD, if you need you can’t delete the last SSID and PWD, for some reason the last configuration was salved or in the ESP or the ARDUINO.
So you use Serial Monitor or Droid Term to change the WiFi details of your sketch, obviously taking the user input before WiFi is enabled. Probably with a timeout so that if no new details are entered via Serial Monitor the sketch proceeds and uses the stored WiFi credentials.