You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@ Thanks to [cancodr](https://github.com/cancodr) for requesting an enhancement in
38
38
---
39
39
---
40
40
41
+
### Releases v1.2.0
42
+
43
+
1. Restore cpp code besides Impl.h code to use in case of `multiple definition` linker error. See [`Change Implementation to seperate *.h and *.cpp file instead of *.h and *-Impl.h`](https://github.com/khoih-prog/ESP_WiFiManager/issues/38) and [`Support building in PlatformIO PR`](https://github.com/khoih-prog/ESP_WiFiManager/pull/20). SSee [**HOWTO Fix `Multiple Definitions` Linker Error**](https://github.com/khoih-prog/ESP_WiFiManager#HOWTO-Fix-Multiple-Definitions-Linker-Error)
44
+
2. Fix bug [/close does not close the config portal](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/16).
45
+
41
46
### Releases v1.1.2
42
47
43
48
1. Fix bug in examples.
@@ -147,6 +152,25 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `ESP_Wi
147
152
---
148
153
---
149
154
155
+
### HOWTO Fix `Multiple Definitions` Linker Error
156
+
157
+
The current library implementation, using xyz-Impl.h instead of standard xyz.cpp, possibly creates certain `Multiple Definitions` Linker error in certain use cases. Although it's simple to just modify several lines of code, either in the library or in the application, the library is adding a separate source directory, named src_cpp, besides the standard src directory.
158
+
159
+
To use the old standard cpp way, locate this library' directory, then just
160
+
161
+
1.**Delete the all the files in src directory.**
162
+
2.**Copy all the files in src_cpp directory into src.**
163
+
3. Close then reopen the application code in Arduino IDE, etc. to recompile from scratch.
164
+
165
+
To re-use the new h-only way, just
166
+
167
+
1.**Delete the all the files in src directory.**
168
+
2.**Copy the files in src_h directory into src.**
169
+
3. Close then reopen the application code in Arduino IDE, etc. to recompile from scratch.
170
+
171
+
---
172
+
---
173
+
150
174
## How It Works
151
175
152
176
- The [ConfigOnSwitch](examples/ConfigOnSwitch) example shows how it works and should be used as the basis for a sketch that uses this library.
@@ -2321,6 +2345,11 @@ Submit issues to: [ESP_WiFiManager issues](https://github.com/khoih-prog/ESP_WiF
2321
2345
---
2322
2346
---
2323
2347
2348
+
### Releases v1.2.0
2349
+
2350
+
1. Restore cpp code besides Impl.h code to use in case of `multiple definition` linker error. See [`Change Implementation to seperate *.h and *.cpp file instead of *.h and *-Impl.h`](https://github.com/khoih-prog/ESP_WiFiManager/issues/38) and [`Support building in PlatformIO PR`](https://github.com/khoih-prog/ESP_WiFiManager/pull/20)
2351
+
2. Fix bug [/close does not close the config portal](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/16).
2352
+
2324
2353
### Releases v1.1.2
2325
2354
2326
2355
1. Fix bug in examples.
@@ -2432,7 +2461,7 @@ See [KenTaylor's version](https://github.com/kentaylor/WiFiManager) for previous
2432
2461
-[Issue #25: API call /r doesnt clear credentials](https://github.com/khoih-prog/ESP_WiFiManager/issues/25), [Issue #26: softAP with custom IP not working](https://github.com/khoih-prog/ESP_WiFiManager/issues/26) and [Issue #27: CORS protection fires up with AJAX](https://github.com/khoih-prog/ESP_WiFiManager/issues/27) leading to [ESP_WiFiManager v1.0.11](https://github.com/khoih-prog/ESP_WiFiManager/releases/tag/v1.0.11).
2433
2462
7. Thanks to [Marko](https://github.com/wackoo-arduino) for agreeing to contribute the sample code dealing with MQTT which the [ConfigOnSwitchFS_MQTT_Ptr](examples/ConfigOnSwitchFS_MQTT_Ptr) is based on. See [Custom MQTT parameters using Wifi Manager](https://forum.arduino.cc/index.php?topic=692108.75).
2434
2463
8. Thanks to [05prateek](https://github.com/05prateek) for reporting [Stationmode Static IP changes to dhcp when esp8266 is restarted](https://github.com/khoih-prog/ESP_WiFiManager/issues/28) bug which is fixed in v1.0.11 by enhance autoConnect() function.
2435
-
2464
+
9. Thanks to [Egor](https://github.com/eg321) and [HenrikW](https://github.com/Invento3D) to make [`Support building in PlatformIO PR`](https://github.com/khoih-prog/ESP_WiFiManager/pull/20) and post issue [`Change Implementation to seperate *.h and *.cpp file instead of *.h and *-Impl.h`](https://github.com/khoih-prog/ESP_WiFiManager/issues/38) to address the `multiple definition` linker error in certain cases, leading to v1.2.0
2436
2465
2437
2466
2438
2467
<table>
@@ -2448,6 +2477,8 @@ See [KenTaylor's version](https://github.com/kentaylor/WiFiManager) for previous
0 commit comments