This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 42
42
"version" : " >=1.2.3" ,
43
43
"platforms" : [" espressif8266" , " espressif32" ]
44
44
},
45
+ {
46
+ "owner" : " me-no-dev" ,
47
+ "name" : " ESPAsyncUDP" ,
48
+ "version" : " 0.0.0-alpha+sha.697c75a025" ,
49
+ "platforms" : [" espressif8266" , " espressif32" ]
50
+ },
51
+ {
52
+ "owner" : " devyte" ,
53
+ "name" : " ESPAsyncDNSServer" ,
54
+ "version" : " ^1.0.0" ,
55
+ "platforms" : [" espressif8266" , " espressif32" ]
56
+ },
45
57
{
46
58
"owner" : " khoih-prog" ,
47
59
"name" : " ESP_DoubleResetDetector" ,
Original file line number Diff line number Diff line change 166
166
#define HTTP_PORT 80
167
167
#define DNS_PORT 53
168
168
169
- #include < DNSServer .h>
169
+ #include < ESPAsyncDNSServer .h>
170
170
#include < memory>
171
171
#undef min
172
172
#undef max
@@ -840,11 +840,6 @@ class ESPAsync_WiFiManager_Lite
840
840
// // New DRD ////
841
841
#endif
842
842
843
- if ( configuration_mode && dnsServer )
844
- {
845
- dnsServer->processNextRequest ();
846
- }
847
-
848
843
if ( !configuration_mode && (curMillis > checkstatus_timeout) )
849
844
{
850
845
if (WiFi.status () == WL_CONNECTED)
@@ -1283,7 +1278,7 @@ class ESPAsync_WiFiManager_Lite
1283
1278
String ipAddress = " 0.0.0.0" ;
1284
1279
1285
1280
AsyncWebServer *server = NULL ;
1286
- DNSServer *dnsServer = nullptr ;
1281
+ AsyncDNSServer *dnsServer = nullptr ;
1287
1282
1288
1283
// KH, for ESP32
1289
1284
#ifdef ESP8266
@@ -3004,7 +2999,7 @@ class ESPAsync_WiFiManager_Lite
3004
2999
3005
3000
if (!dnsServer)
3006
3001
{
3007
- dnsServer = new DNSServer ();
3002
+ dnsServer = new AsyncDNSServer ();
3008
3003
}
3009
3004
3010
3005
// See https://stackoverflow.com/questions/39803135/c-unresolved-overloaded-function-type?rq=1
You can’t perform that action at this time.
0 commit comments