Added permanent DDP UDP listener.

This commit is contained in:
Blaz Kristan
2021-10-01 21:56:54 +02:00
parent 45e0cbdb25
commit e17e2a636b
4 changed files with 17 additions and 14 deletions

View File

@@ -537,6 +537,7 @@ void WLED::initAP(bool resetAP)
udp2Connected = notifier2Udp.begin(udpPort2);
}
e131.begin(false, e131Port, e131Universe, E131_MAX_UNIVERSE_COUNT);
ddp.begin(false, DDP_DEFAULT_PORT);
dnsServer.setErrorReplyCode(DNSReplyCode::NoError);
dnsServer.start(53, "*", WiFi.softAPIP());
@@ -739,6 +740,7 @@ void WLED::initInterfaces()
initBlynk(blynkApiKey, blynkHost, blynkPort);
#endif
e131.begin(e131Multicast, e131Port, e131Universe, E131_MAX_UNIVERSE_COUNT);
ddp.begin(false, DDP_DEFAULT_PORT);
reconnectHue();
initMqtt();
interfacesInited = true;