bugfix: -d mode didn't worked

This commit is contained in:
2024-08-29 01:18:32 +02:00
parent dce761eec3
commit 97adf45c51
2 changed files with 9 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ DEBUG = True if os.environ.get('DEBUG') is not None else False
DISCOVERY_ACK = 'IP_DISCOVERY_ACK'.encode() # ACK for broadcast
DISCOVERY_RSP_GTW = 'IP_DISCOVERY_RSP_GTW'.encode() # RSP for gateway
DISCOVERY_RSP_MSH = 'IP_DISCOVERY_RSP_MSH'.encode() # RSP for mesh
DISCOVERY_TIMEOUT = 1
DISCOVERY_TIMEOUT = 0.5
SOCKET_TIMEOUT = 0.2
PORT_SERVER = 9434
PORT_CLIENT = 9435
@@ -73,5 +73,5 @@ def start_discovery_client():
return discovered_devices
# devices = start_discovery_client()
# print(f"Devices: {devices}")
devices = start_discovery_client()
print(f"Devices: {devices}")