From 60ac0d477c15912201514812ec1c249f5e47cf82 Mon Sep 17 00:00:00 2001 From: TB-1993 <109213741+TB-1993@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:57:43 +0000 Subject: [PATCH] Fix #153: Added 30 timeout readUntil in olimex sendKey Increased the timeout in the readUntil in the sendKey method of the olimex remote control module to prevent timeout when key send is successful --- framework/core/remoteControllerModules/olimex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/remoteControllerModules/olimex.py b/framework/core/remoteControllerModules/olimex.py index 9bd5461..7458a0f 100644 --- a/framework/core/remoteControllerModules/olimex.py +++ b/framework/core/remoteControllerModules/olimex.py @@ -48,7 +48,7 @@ def command(self, cmd:str): self.telnet.read_very_eager() if False==self.telnet.write(cmd): return False - if not "(OK)" in self.telnet.read_until("(OK)"): + if not "(OK)" in self.telnet.read_until("(OK)", 20): return False self.telnet.disconnect() return True