Skip to content

Add MDNS discovery

Albert Vaca Cintora requested to merge work/mdns into master

Uses Android's NsdManager to announce a _kdeconnect._udp service using MDNS. This is done in addition to sending UDP broadcasts.

When we detect a device this way, we send a UDP identity packet to it (identical to the ones we broadcast but sent to a single device).

I also added a toggle in settings to disable the UDP broadcasts, so we can test MDNS by itself.

Merge request reports

Loading