Skip to content

NodeMCU (ESP8266-12E) AP mode not working #4254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bitboy85 opened this issue Jan 29, 2018 · 3 comments
Closed

NodeMCU (ESP8266-12E) AP mode not working #4254

bitboy85 opened this issue Jan 29, 2018 · 3 comments

Comments

@bitboy85
Copy link

bitboy85 commented Jan 29, 2018

Hi,
i'm using a nodemcu 1.0 (ESP8266-12E module) and try to use the example Code to create an Access point.
Arduino IDE Version is 1.8.1 and esp8266 library has Version 2.3.0.

The wifi network is created but i'm unable to connect from my Laptop (T410, Linumxmint 17.3).
If found this #1094 and added the code lines suggested (wifi.disconnect() and clearflash), it seems that a connection from my android device is now more stable but it is still not possible to connect from my laptop.

@devyte
Copy link
Collaborator

devyte commented Jan 29, 2018

@bitboy85 when you opened this issue, you were presented with an issue template. You pretty much ignored it in its entirety. Without at least a MCVE sketch, it's unlikely your issue will be looked at.
Release 2.3.0 is very old. Latest release is 2.4.0, so opening issues for 2.3.0 doesn't make sense. However, I strongly suggest trying with latest git instead of 2.4.0 due to known issues.
Also, make sure to erase the entire flash before loading a new sketch.
Also, the ESP has only one radio. If you're using wifi in mode SoftAP, then the AP side will be dragged along channel hopping when the Station side scans or connects, and the device you're trying to connect from will see tha SoftAP disappear and may drop the attempt. The SoftAP channel should be set to the same channel as the AP that the station side tries to connect to.

I can't reproduce this from my own app, I see no problems with connecting either from my smartphone or laptop.
Closing due to lack of info and can't reproduce.

@devyte devyte closed this as completed Jan 29, 2018
@irwanayeah
Copy link

I have a lot of nodemcu and only 1 pc has a case like the title above. so it seems like a hardware problem.

@bitboy85
Copy link
Author

bitboy85 commented Sep 6, 2018

I removed mdns from the sample code and it seems to work much better now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants