msl.equipment.dns_service_discovery module

Implementation of the Multicast DNS and DNS-Based Service Discovery protocols.

References

  • RFC-1035Domain Names - Implementation and Specification, ISI, November 1987.

  • RFC-6762Multicast DNS, Apple Inc., February 2013.

  • RFC-6763DNS-Based Service Discovery, Apple Inc., February 2013.

msl.equipment.dns_service_discovery.find_lxi(hosts=None, timeout=1)[source]

Find all LXI devices that support the mDNS and DNS Service Discovery protocols.

Parameters:
  • hosts (list of str, optional) – The IP address(es) on the computer to use to broadcast the message. If not specified, then broadcast on all network interfaces.

  • timeout (float, optional) – The maximum number of seconds to wait for a reply.

Returns:

dict – The information about the HiSLIP, VXI-11 and SCPI-RAW devices that were found.