Closed goshante closed 3 years ago
The GitHub nodemcu-firmware issues list is not the right place to ask for help. It is intended to report bugs and to place feature requests. Questions like "how do I ..." or "I can't get this to work ..." should be directed to StackOverflow or esp8266.com.
BTW/FYI:
The wifi.STATIONAP mode is working as designed. In this mode, the AP and STA are isolated. For example: if your phone is connected to the AP, and the STA is connected to your home Internet WiFi router, then only the ESP8266 can access the Internet from the router, your phone cannot. Your phone can communicate with the ESP8266 and the ESP8266 can communicate with the Internet.
Also, the ESP8266 has only one radio transceiver. In the wifi.STATIONAP mode it will use this single radio for both the Internet AP and STA connection. Therefore, all devices involved (phone, ESP8266, home Internet AP, etc.) must be configured to all use the same WiFi channel.
Using latest build of nodemcu, tried a lot of variations, I cannot access internet on my wifi client devices. I can connect to my home router and access internet from ESP, i can host AP and connect to this hotspot. And yes I can do both at the same time. But no matter what, I cannot access internet for (from example) my phone when it connected to ESP's hotspot. Why?
My init.lua