im trying out the esp8266 as acces point using the example code "WifiAccespoint", after fixing my previous problem by adding wifi.disconnect before creating the acces point.
now when i connect to the accespoint with my laptop it gives me these parameters.
ipv4: 169.254.145.161
subnet mask: 255.255.0.0
default gateway: none.
when i try to connect to 192.168.4.1 it wont let me, so i manually set my laptop ip to these:
ipv4: 192.168.4.4
subnet mask: 255.255.255.0
default gateway: 192.168.4.1
preferred dns: 8.8.8.8
alternate dns: 8.8.4.4
my laptops successfully connects to the device and i can see the HTTP server from the example and my android phone will try to connect to the device only to say it couldn't.
what i want to do is connect a smart phone or laptop without setting the ip manually, the esp8266 isnt connected to any other device or router, im not sure if the esp8266 can handle connections as a dhcp server, so this is why im asking for an example.