mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-20 01:13:58 +00:00
Fix: Do not try to reconnect TCP without SLAC and SDP.
This commit is contained in:
parent
7b35a5f79b
commit
5f96ba14e4
1 changed files with 2 additions and 5 deletions
|
@ -552,12 +552,9 @@ class fsmPev():
|
||||||
|
|
||||||
def stateFunctionSequenceTimeout(self):
|
def stateFunctionSequenceTimeout(self):
|
||||||
# Here we end, if we run into a timeout in the state machine. This is an error case, and
|
# 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.
|
# an end of the PEV state machine. The re-initialization is performed by the
|
||||||
# Todo: Maybe we want even inform the pyPlcHomeplug to do a new SLAC.
|
# lower layers SLAC, SDP, together with the connection manager. Nothing to do here.
|
||||||
# For the moment, we just re-establish the TCP connection.
|
|
||||||
self.publishStatus("ERROR Timeout")
|
self.publishStatus("ERROR Timeout")
|
||||||
self.reInit()
|
|
||||||
|
|
||||||
|
|
||||||
stateFunctions = {
|
stateFunctions = {
|
||||||
stateNotYetInitialized: stateFunctionNotYetInitialized,
|
stateNotYetInitialized: stateFunctionNotYetInitialized,
|
||||||
|
|
Loading…
Reference in a new issue