-
Dear Developers, I did 2 tests with "Async_ConfigOnDoubleReset" example without any change in the example code except using once the new h-Implementation from src_h and in the second test using the old cpp/h implementation from src_cpp Test 1: Test 2: Using the src_h sources the examples compiles, builds and works after uploading to the device without any problems. Using the src_cpp sources the project compiles, links and can be uploaded, but the ESP hangs up after: "Starting configuration portal @ 192.168.4.1, SSID = ESP_3D8963, PWD = MyESP_3D8963" Since I would like to integrate the lib in another project, due to multiple linker warnings, I want to use the src_cpp. Whats the difference here? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
Changing ESPAsync_WiFiManager.h accordingly to prevent multiple definition linker error solved the problem in the project and the manager is working. However this is not solving the problem described above which is just a simple replacement of the sources in the example. |
Beta Was this translation helpful? Give feedback.
-
Possibly my mistake in copying the files, the only difference between Can you try to modify this line ESPAsync_WiFiManager.cpp#L570 to
from
then retest / post the result. |
Beta Was this translation helpful? Give feedback.
-
Thx. I discovered first this difference and tested it before asking here for help. However, unfortunately with the same result. Even after changing ESPAsync_WifiManager.cpp#L570 accordingly the error still exists. :-( |
Beta Was this translation helpful? Give feedback.
-
I see! Thx for your fast respnse!! Just a few changes in the .h and it can be used even in the "old style" cpp's without the linker warnings and everthing works fine. That's a simple workaraound. |
Beta Was this translation helpful? Give feedback.
-
Sure. I will do tomorrow. |
Beta Was this translation helpful? Give feedback.
-
The new ESPAsync_WiFiManager release v1.10.0 has just been published. Your contribution is noted in Contributions and Thanks Check the edited and new example for how to avoid I'm looking forward to receiving more of your contributions Best Regards, Releases v1.10.0
|
Beta Was this translation helpful? Give feedback.
Sure. I will do tomorrow.