I saw a video where WeMos D1 Mini was used for logging temperature and sending the values to the internet. But the cool thing was how wifi name and password was entered - when Wemos was not able to connect local wifi, it automatically turned itself into Access Point. The user logged in using his smartphone and entered the wifi password and name. Then restarted Wemos and after that it was working.
So far when testing my Wemos D1 Mini board, everywhere I go (home, work, country) I always have to upload the whole program code with new wifi name and password.
Does anyone have any idea how it was done, that when Wemos board was not able to connect local wifi, it turned itself into Access Point?