Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By bbx10node
#45454 I copied the latest swicago demo into a new Arduino sketch and save it as swicago.ino. It works fine. I did not copy dnsserver.cpp and dnsserver.h because the newest versions are included with the ESP8266 board package.

To learn more about DNS server, there are 3 DNS server examples included with the board package. In the IDE see File -> Examples -> DNSServer.

I do not think in softAP mode, the ESP8266 can connect to the Internet. It would have to act as STA and AP at the same time which is not possible. But I would love to hear I am wrong.

WiFi Manager use captive portal mode to configure the SSID and password, then reboot into normal mode to access the Internet. If WM cannot access the AP (SSID and password wrong or the device has moved too far from the AP), it goes back to captive mode so the user can enter a different SSID and password.

viewtopic.php?f=152&t=8705&p=42991&hilit=wifi+manager#p42991
User avatar
By martinayotte
#45469
bbx10node wrote:I do not think in softAP mode, the ESP8266 can connect to the Internet. It would have to act as STA and AP at the same time which is not possible. But I would love to hear I am wrong.

By definition softAP is STA+AP, so, while servicing the AP, the ESP can be itself an STA of another router, therefore the Internet. That's also why the ESP has 2 different IPAddr. Of course, the clients of the ESP AP won't have access to internet, but this is another thing, it is simply that ESP network layer doesn't have IP forwarding.
User avatar
By dark_
#46872 Hi, first, thank you very much for so much help in this forum. I took borrowed this scketch and has served me very helpful but could someone say how you can put that pressing on and send the signal at the gpio departure, send an 0 automatically, so instead of 4 buttons for both outputs, you could use 2 only and the button itself had two options. thank you very much, it would be helpful if someone help me