The script opens a access point on the ESP and displays the assignd IPs via webui. I needed a easy solution to connect a few devices on places without infrastructure and with low power consumption. I used the sample script from ESP8266 examples and modified it.
There are no additional libraries needed for this project. Only the esp libraries are required.
Just download the file and change the wifi settings (wifi-ssid and wifi-password)
const char *ssid = "Mobile";
const char *pass = "password";
Compile and upload the file to your ESP and you are done :)
Search on your devices for the access point and connect with the wifi-password.
After connecting the webinterface can be reached over 192.168.4.1