Add UDP multicast support on linux.

We tested it an it works.

This is really hacky to say the least.
This commit is contained in:
Jorropo
2025-03-18 20:03:38 +01:00
parent af8b64e84e
commit 16a1c9f148
3 changed files with 23 additions and 4 deletions
+4
View File
@@ -822,6 +822,10 @@ void setup()
#ifdef HAS_UDP_MULTICAST
LOG_DEBUG("Start multicast thread");
udpThread = new UdpMulticastThread();
#ifdef ARCH_PORTDUINO
// FIXME: portduino does not ever call onNetworkConnected so call it here because I don't know what happen if I call onNetworkConnected there
udpThread->start();
#endif
#endif
service = new MeshService();
service->init();