Add support for alternative discovery protocol (20002/udp) (#488)

This will broadcast the new discovery message on the new port and log any responses received as unsupported devices.
This commit is contained in:
sdb9696
2023-08-29 14:04:28 +01:00
committed by GitHub
parent 53021f07fe
commit 6055c29d74
4 changed files with 219 additions and 25 deletions

View File

@@ -3,3 +3,7 @@
class SmartDeviceException(Exception):
"""Base exception for device errors."""
class UnsupportedDeviceException(SmartDeviceException):
"""Exception for trying to connect to unsupported devices."""