-
Notifications
You must be signed in to change notification settings - Fork 136
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
WIfiManager on ESP32 is not working #22
Comments
Same here on lolin d32 Compiling .pioenvs/lolin_d32/src/main.cpp.o |
I was having the same HTTP_HEAD problem and the solution was simpler than it looked. I just edited the WiFiManager.h files and WifiManager.cpp replacing (HTTP_HEAD) with (HTTP_HEADER) and there was no more compilation problem. |
I did that but then wifi manager was not functioning for me.
…On Mon, 5 Nov 2018 at 2:51 PM, lacneto ***@***.***> wrote:
I was having the same HTTP_HEAD problem and the solution was simpler than
it looked. I just edited the WiFiManager.h files and WifiManager.cpp
replacing (HTTP_HEAD) with (HTTP_HEADER) and there was no more compilation
problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH98xaCtg1_OZk-YCu0JG87BNGisT1FRks5usAMOgaJpZM4X5ehr>
.
|
Do you using libraries WebServer and DNSServer the same autor? Regards |
For now I am using asyc version and it is working. ( other than wifi reset
)
I did tired the usual hacks but it doesn’t seem to be working. I am using
Mac for the arduino. I believe I have to try it with other machines as I
can see it has worked for many people.
Thank you for the help.
…On Mon, 5 Nov 2018 at 4:25 PM, lacneto ***@***.***> wrote:
Do you using libraries WebServer and DNSServer the same autor?
https://github.com/zhouhan0126/WebServer-esp32
https://github.com/zhouhan0126/DNSServer---esp32
Try it use this libraries together and see if working.
For me to be working perfectly.
Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH98xQcUvLsdVze2c5KfaM4EqZz2Vzreks5usBkGgaJpZM4X5ehr>
.
|
@lacneto |
@lacneto |
In the Arduino IDE i must edited the file "WiFiManager.h" as @lacneto said. But i don't understand why this appends. In case someone uses Platform IO, you just edit the platformio.ini adding:
|
Had to do this, also on an ESP8266, works now. |
It is very useful! |
It is very useful! |
After I did this it worked for me :) |
Hi,
I am trying to run the Autoconnect example from the wifimanager esp32.
I am getting the following error:
In file included from /Users/Sid/Documents/Arduino/libraries/WIFIMANAGER-ESP32-master/examples/AutoConnect/AutoConnect.ino:14:0:
/Users/Sid/Documents/Arduino/libraries/WIFIMANAGER-ESP32-master/WiFiManager.h:36:22: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol
const char HTTP_HEAD[] PROGMEM = "<title>{v}</title>";
^
In file included from /Users/Sid/Library/Arduino15/packages/esp32/hardware/esp32/1.0.0/libraries/WebServer/src/WebServer.h:30:0,
from /Users/Sid/Documents/Arduino/libraries/WIFIMANAGER-ESP32-master/examples/AutoConnect/AutoConnect.ino:12:
/Users/Sid/Library/Arduino15/packages/esp32/hardware/esp32/1.0.0/libraries/WebServer/src/HTTP_Method.h:10:3: note: previous declaration 'HTTPMethod HTTP_HEAD'
HTTP_HEAD = 0b00100000,
^
Multiple libraries were found for "WiFi.h"
Used: /Users/Sid/Library/Arduino15/packages/esp32/hardware/esp32/1.0.0/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Multiple libraries were found for "DNSServer.h"
Used: /Users/Sid/Library/Arduino15/packages/esp32/hardware/esp32/1.0.0/libraries/DNSServer
Not used: /Users/Sid/Documents/Arduino/libraries/DNSServer---esp32-master
Multiple libraries were found for "WebServer.h"
Used: /Users/Sid/Library/Arduino15/packages/esp32/hardware/esp32/1.0.0/libraries/WebServer
Not used: /Users/Sid/Documents/Arduino/libraries/WebServer-esp32-master
exit status 1
Error compiling for board Node32s.
The text was updated successfully, but these errors were encountered: