From 458a186c44ac82db9422f4f9e8fb84def49b8814 Mon Sep 17 00:00:00 2001 From: Bryan Mayland Date: Tue, 10 Oct 2023 14:11:26 -0400 Subject: [PATCH] Add device name to elrs.udp MDNS record --- src/lib/WIFI/devWIFI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/WIFI/devWIFI.cpp b/src/lib/WIFI/devWIFI.cpp index 09cf860610..cd0cf07de9 100644 --- a/src/lib/WIFI/devWIFI.cpp +++ b/src/lib/WIFI/devWIFI.cpp @@ -939,6 +939,7 @@ static void startMDNS() #ifdef HAS_WIFI_JOYSTICK MDNS.addService("elrs", "udp", JOYSTICK_PORT); + MDNS.addServiceTxt("elrs", "udp", "device", (const char *)device_name); MDNS.addServiceTxt("elrs", "udp", "version", String(JOYSTICK_VERSION).c_str()); #endif }