-
Notifications
You must be signed in to change notification settings - Fork 13.3k
NodeMcu never passing WiFi.status #4284
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
Comments
Try to call wifi_station_get_connect_status() and check the reason why connection request failed. |
sounds like bad ssid/pass |
I have tried all 4 of my Wifi connections, none of them work. |
No info, no help :-( ... Do as i wrote and give us what wifi_station_get_connect_status() returns. |
How do I use the wifi_station_get_connect_status()? |
Did you try at least to search the web, or are you too lazy? extern "C" { |
I tried using a Serial.print(WiFi.status()); inside the: while (WiFi.status() != WL_CONNECTED) {...} and it comes back as 6 for a while but then goes to 1. |
wifi.status gives only arduino shield compatible results (why i'm wasting my time to suggest something when nobody listen :-( ) but in this case it means that you have written bad ssid to ssid[] - what exactly did you put into ssid[]? |
my wifi name |
my wifi ssid and wifi name is the same |
So we have two options:
|
I did a Serial.print(wifi_station_get_connect_status()); and it printed 1 for a while then went to 3. |
So you can interpret by yourself - just take a look into user_interface.h for station_status_t. It seems like status is STATION_NO_AP_FOUND. What is the type of your AP? |
wrongly typed, maybe hidden ssid, or 5ghz AP, theres reasons why its not seen |
my AP is 2.4ghz |
You are really not giving much info, so briefly: |
WiFiScan is not picking up my wifi or mobile hotspot. |
Standard, channel, SSID? |
Here is all the info on the WiFi: SSID: ************** |
http://www.esp8266.com/viewtopic.php?f=6&t=1612 hope that you really don't have SSID as ************ (really don't know what is so secret on broadcasted SSID) |
probably more relevant #3941 ... |
with the latest git im able to connect to my iphone7+’s AP without issue, and it’s a dual band phone. it also has no issues connecting to a crappy Bell router either :) |
The Board itself does not read newer WiFi connections, all my connections are less than a year old so I am thinking that is the reason. |
more specifically: 802.11n AP. |
no, its not, did wifiscan see any APs at app? |
*all |
no |
I might have a bad board? |
it sounds like it, can you try another? |
It should support it because the wifi block on the board says: 802.11b/g/n |
yeah but if you dont see any APs, something is definately wrong with the chip i would presume |
i get 20 APs listed from my livingroom |
This is my first NodeMcu Esp8266 board, but I have used an Adafruit Feather Huzzah and it worked perfectly fine. So I will buy a Huzzah and see if that works. |
nowhere-ish, My computer picks up our Ethernet, our 4 Wifi connections, our printer, and two others wifies near us that are very weak. |
Basic Info
Hardware
Hardware: NodeMcu esp8266 Amica
Core Version: ?
Description
I just got my first esp8266 board and tried to upload the WebServer library. And I upload the sketch and on the serial monitor it tells me it never connects. I have tried every single upload speed thinking I may be going to fast for the board but none of them work.
Settings in IDE
Module: esp 8266 built in
Flash Size: ?
CPU Frequency: 80Mhz
Flash Mode: ?
Flash Frequency: ?
Upload Using: SERIAL
Reset Method: nodemcu
Sketch
Serial COM13
The text was updated successfully, but these errors were encountered: