115
115
* [ Async_AutoConnect_ESP8266_minimal] ( examples/Async_AutoConnect_ESP8266_minimal )
116
116
* [ Async_ConfigOnDRD_ESP32_minimal] ( examples/Async_ConfigOnDRD_ESP32_minimal )
117
117
* [ Async_ConfigOnDRD_ESP8266_minimal] ( examples/Async_ConfigOnDRD_ESP8266_minimal )
118
+ * [ Multiple-Definitions-Linker-Error demo] ( #Multiple-Definitions-Linker-Error-demo )
118
119
* [ Example Async_ConfigOnDRD_FS_MQTT_Ptr] ( #example-async_configondrd_fs_mqtt_ptr )
119
120
* [ Debug Terminal Output Samples] ( #debug-terminal-output-samples )
120
121
* [ 1. Async_ConfigOnDRD_FS_MQTT_Ptr on ESP32_DEV] ( #1-async_configondrd_fs_mqtt_ptr_medium-on-esp32_dev )
@@ -2083,7 +2084,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
2083
2084
16 . [ Async_ESP_FSWebServer] ( examples/Async_ESP_FSWebServer )
2084
2085
17 . [ Async_ESP_FSWebServer_DRD] ( examples/Async_ESP_FSWebServer_DRD )
2085
2086
18 . [ Async_ConfigOnDRD_FS_MQTT_Ptr] ( examples/Async_ConfigOnDRD_FS_MQTT_Ptr )
2086
- 19 . [ Async_ConfigPortalParamsOnSwitch_TZ ] ( examples/Async_ConfigPortalParamsOnSwitch_TZ ) (now support ArduinoJson 6.0.0+ as well as 5.13.5-)
2087
+ 19 . [ Async_ConfigOnDoubleReset_TZ ] ( examples/Async_ConfigOnDoubleReset_TZ ) (now support ArduinoJson 6.0.0+ as well as 5.13.5-)
2087
2088
2088
2089
#### High Complexity
2089
2090
@@ -2097,6 +2098,10 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
2097
2098
3 . [ Async_ConfigOnDRD_ESP32_minimal] ( examples/Async_ConfigOnDRD_ESP32_minimal )
2098
2099
4 . [ Async_ConfigOnDRD_ESP8266_minimal] ( examples/Async_ConfigOnDRD_ESP8266_minimal )
2099
2100
2101
+ #### Multiple-Definitions-Linker-Error demo
2102
+
2103
+ 1 . [ Async_ConfigOnDoubleReset_Multi] ( examples/Async_ConfigOnDoubleReset_Multi )
2104
+
2100
2105
2101
2106
---
2102
2107
---
@@ -2108,7 +2113,8 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
2108
2113
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2109
2114
#endif
2110
2115
2111
- #define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
2116
+ #define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
2117
+ #define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
2112
2118
2113
2119
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2114
2120
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -2440,7 +2446,8 @@ IPAddress APStaticIP = IPAddress(192, 168, 100, 1);
2440
2446
IPAddress APStaticGW = IPAddress(192 , 168 , 100 , 1 );
2441
2447
IPAddress APStaticSN = IPAddress(255 , 255 , 255 , 0 );
2442
2448
2443
- #include < ESPAsync_WiFiManager.h> // https://github.com/khoih-prog/ESPAsync_WiFiManager
2449
+ #include < ESPAsync_WiFiManager.h> // https://github.com/khoih-prog/ESPAsync_WiFiManager
2450
+ #include < ESPAsync_WiFiManager-Impl.h> // https://github.com/khoih-prog/ESPAsync_WiFiManager
2444
2451
2445
2452
#define HTTP_PORT 80
2446
2453
@@ -3316,11 +3323,13 @@ void setup()
3316
3323
Serial.println(ESP_ASYNC_WIFIMANAGER_VERSION);
3317
3324
Serial.println(ESP_DOUBLE_RESET_DETECTOR_VERSION);
3318
3325
3319
- if ( String(ESP_ASYNC_WIFIMANAGER_VERSION) < ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET )
3326
+ #if defined(ESP_ASYNC_WIFIMANAGER_VERSION_INT)
3327
+ if (ESP_ASYNC_WIFIMANAGER_VERSION_INT < ESP_ASYNC_WIFIMANAGER_VERSION_MIN)
3320
3328
{
3321
3329
Serial.print("Warning. Must use this example on Version later than : ");
3322
3330
Serial.println(ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET);
3323
3331
}
3332
+ #endif
3324
3333
3325
3334
Serial.setDebugOutput(false);
3326
3335
0 commit comments