Fix: Do not try to reconnect TCP without SLAC and SDP.

This commit is contained in:
uhi22 2023-05-03 08:18:12 +02:00
parent 7b35a5f79b
commit 5f96ba14e4

View file

@ -552,12 +552,9 @@ class fsmPev():
def stateFunctionSequenceTimeout(self):
# Here we end, if we run into a timeout in the state machine. This is an error case, and
# we should re-initalize and try again to get a communication.
# Todo: Maybe we want even inform the pyPlcHomeplug to do a new SLAC.
# For the moment, we just re-establish the TCP connection.
# an end of the PEV state machine. The re-initialization is performed by the
# lower layers SLAC, SDP, together with the connection manager. Nothing to do here.
self.publishStatus("ERROR Timeout")
self.reInit()
stateFunctions = {
stateNotYetInitialized: stateFunctionNotYetInitialized,