Skip to content
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

2.0.0 stable: Can't connect to AP #1374

Closed
andig opened this issue Jan 5, 2016 · 4 comments
Closed

2.0.0 stable: Can't connect to AP #1374

andig opened this issue Jan 5, 2016 · 4 comments

Comments

@andig
Copy link
Contributor

andig commented Jan 5, 2016

Trying my working sketch on a new ESP I've noticed that none of my devices are able to connect to ESP when in AP mode (no PSK). Connection simply fails.

Kindly asking for a way here to provide debug information for further diagnosis. Wireless itself is working as station mode if fine when I supply credentials.

@Links2004
Copy link
Collaborator

can you try staging version?
https://github.com/esp8266/Arduino#staging-version-
the WiFi is reworked in this version, and there is an easy way for debugging too: #1350 (comment)

@andig
Copy link
Contributor Author

andig commented Jan 6, 2016

No luck with staging- compile fails:

Board generic (platform esp8266, package esp8266) is unknown
Error compiling.

Update: moved to #1377

@andig
Copy link
Contributor Author

andig commented Jan 6, 2016

Next stopper: can't compile with Debug->all and Debug Serial->Serial:

In file included from C:\Users\a25058\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc1\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp:26:0:

C:\Users\xx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc1\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp: In member function 'wl_status_t ESP8266WiFiMulti::run()':

C:\Users\xx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc1\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.h:37:66: error: cannot pass objects of non-trivially-copyable type 'class String' through '...'

 #define DEBUG_WIFI_MULTI(...) DEBUG_ESP_PORT.printf( __VA_ARGS__ )

C:\Users\xx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc1\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp:130:25: note: in expansion of macro 'DEBUG_WIFI_MULTI'

             DEBUG_WIFI_MULTI("[WIFI] SSID: %s\n", WiFi.SSID());

@andig
Copy link
Contributor Author

andig commented Jan 6, 2016

However, flashing with DEBUG=none I can connect to the AP now- fine. Should we use this issue to further track rc1 problems?

@andig andig closed this as completed Jan 6, 2016
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

2 participants