My application uses a Photon connected to a dedicated WiFi network. Now someone else wants to use that network too but no one can remember the password. The only solution is to reset the router to factory defaults and then set it up again with a new password. I’d like to be able to then “tell” the photon what the new password is. Since I am remote, I want to do that from afar. Will including this in my setup code accomplish that task:
WiFi.setCredentials(“My_Router”, “mypasswordishuge”);