-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Errors #72
Comments
Uipethernet is for arduino core. Wifimanager is for esp8266 core. Not is a error |
yes, here the code #include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino //needed for library void setup() {
} void loop() { } |
You may want to check that board type in arduino ide is set to an esp variant. |
I reinstall everything fresh when I compile the AutoConnect sample I get this Build options changed, rebuilding all |
hi, since you got the lates from github, you need to get the latest esp8266 arduino core as well cheers |
How do i do that? |
using 2.0 |
https://github.com/esp8266/Arduino#using-git-version-
|
Did that still same error, How can I check/verify the versions? |
What version of IDE did you use?
|
I tried the stable and staging versions |
arduino IDE v 1.6.7 can't compile ESP 8266 sketch |
I got it working, I use Arduino 1.6.7 and had to install wifi manager 0.5.0 then 0.6.0 for it to work. if you just install 0.6.0 I get /Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString' |
after use the latest library and the latest example AutoConnectWithFSParametersAndCustomIP |
hi, you need to update the esp8266 cora package, not the arduino ide itself |
Same here:Arduino 1.6.7 (current) Used Example AutoConnect
Used Example AutoConnect (modified setAPConfig - uncommented string)
|
setAPConfig was renamed to wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0)); |
but, on top of that, you will get yomasa s error, you need a newer version of the esp8266 package, the github one for now |
thanks for as always fast feedback. Will try the git version after i had tried this: Arduino 1.6.5r5 Used Example AutoConnect (unchanged)
|
forgot about random tests in samples, will cleanup soon i guess you still need a newer esp8266, the fromString function call above has been added a few days ago |
Latest Test with Arduino 1.6.5r5 Result
|
@tzapu what is your environment (Arduino Version ...) |
arduino ide 1.6.6 |
@nibelungen the error above looks like there is something wrong in your libraris/hardware folder are you sure you don t have it included twice? |
Can confirm it works with Arduino 1.6.6 Thanks tzapu |
Hi Tzapu, Arduino IDE 1.6.5 r5
|
hi, try a SPIFFS.format() before ? Seems to be some memory issue i guess Did you get the latest example as well, I think i updated that one yesterday…
|
yes confirm solved |
use esp8266 latest github and WiFiManager latest github no result on scan wifi back to i think the bug is on esp8266 board latest github. git clone https://github.com/esp8266/Arduino.git esp8266 i'm waiting for stable release of esp8266 2.1 and WiFiManager 0.7 thanks |
if it s the error above, it got introduced with the update to sdk 1.5 which is not in 2.0.0, only above |
what version should i use...arduino ide,,,esp core & wifi manager got confusd....currently usin arduino ide 1.6.7 core 2.0 & wifi manager 6.0..plz |
for core 2.0.0 you can only use 0.6 hope this helps |
wrkin with ide 1.6.5....core 2.0.0 & wifi manager 0.5.0 |
you might try 0.6 on 2.0.0 with 1.6.5 as well |
yeah tht one also wrkin fine...thx for awsm config on esp ... currently usin mqtt config let me try out ths.... |
@tzapu i think you should keep the current stable version 0.7 and wait till ESP/Arduino core updated as the Newly release SDK 1.5.2 has WPS enabled so this also can be implemented in your WIFi Manager. |
unfortunatelly, 0.7 does not work with 2.0.0, only with the latest staging. after the next stable, things should be a lot better, we shall see got any docs pertaining to WPS on the esp? cheers
|
here it's there is also changes in the AT commands and you can create your own AT command. |
@mocheffendi igrr just added a fix for the scanning missing access points |
Hi, C:\Users\Fede\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()': with ide 1.6.5....core 2.0.0 & wifi manager 0.9.0 Work fine, I´m testing. |
that would be correct, i have added some code in 0.8 i think to make it compile on core 2.0.0 |
error: 'class WiFiManager' has no member named 'getConfigPortalSSID' error: 'class WiFiManager' has no member named 'setMinimumSignalQuality' wifiManager.setMinimumSignalQuality(50); wifiManager.setAPCallback(configModeCallback); C:\Users\itp\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:61:13: error: initializing argument 1 of 'void WiFiManager::setAPCallback(void (*)())' [-fpermissive] void setAPCallback( void (*func)(void) ); |
hi, you need to update to the latest wifimanager cheers |
Hello, I am using Arduino 1.8.3 error: AutoConnect:20: error: 'class WiFiManager' has no member named 'setAPConfig'
exit status 1 |
UPDATE: It works only when I use wifimanager library 0.6.0 (V6). |
have an issue when i try to load onto card sketch\APScan.cpp: In member function 'bool APScan::start()': APScan.cpp:18: error: no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)' results = WiFi.scanNetworks(true, settings.apScanHidden); // (async = true & show_hidden = true)
sketch\APScan.cpp:18:58: note: candidate is: In file included from sketch\APScan.h:6:0,
C:\Users\User\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: int8_t ESP8266WiFiClass::scanNetworks(bool)
C:\Users\User\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: candidate expects 1 argument, 2 provided exit status 1 This report would have more information with |
What code is that? Its not wifimanager.
|
Hi .. Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp: In member function 'void WiFiManager::setupConfigPortal()': |
Use esp 2.4+ |
hi Tablatronix, Thank You |
Use this board manager link: |
This is no longer an issue in dev version. |
Hi All How can I compile the code ? Thx a lot of your answer. |
I will try to fix today |
Oh that would be GREAT ! |
try hotfixes branch |
Error when try to run
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member
function 'void WiFiManager::handleWifiSave()':
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:462:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Error compiling.
The text was updated successfully, but these errors were encountered: