namespace Heimdall.Infrastructure.Services.Discovery;
/// Result of an mDNS / HomeKit probe.
public sealed record HomeKitDeviceInfo(
string Name,
string DeviceId,
string Model,
string Category,
bool IsPaired,
int Port);
///
/// mDNS / HomeKit Accessory Protocol probe.
/// Queries _hap._tcp.local and other camera-related mDNS service types.
///
public interface IMdnsProbeService
{
///
/// Probe an IP address for HomeKit / mDNS camera services.
/// Returns null if no HomeKit device is detected on this IP.
///
Task ProbeAsync(string ipAddress, CancellationToken ct = default);
}