Hello world support for UDP broadcasts over the LAN on ESP32 (#5779)

* UDP local area network meshing on ESP32

* Logs

* Comment

* Update UdpMulticastThread.h

* Changes

* Only use router->send
This commit is contained in:
Ben Meadors
2025-01-11 09:01:49 -06:00
committed by GitHub
parent 7e063c1dda
commit d440dbd522
7 changed files with 102 additions and 2 deletions

View File

@@ -112,6 +112,12 @@ static void onNetworkConnected()
APStartupComplete = true;
}
#if HAS_UDP_MULTICAST
if (udpThread) {
udpThread->start();
}
#endif
// FIXME this is kinda yucky, instead we should just have an observable for 'wifireconnected'
#ifndef MESHTASTIC_EXCLUDE_MQTT
if (mqtt)
@@ -437,4 +443,4 @@ uint8_t getWifiDisconnectReason()
{
return wifiDisconnectReason;
}
#endif
#endif