Lines Matching full:timeout
26 self, device: DeviceAdapter, prompt: str = 'uart:~$', timeout: float | None = None
30 self.base_timeout: float = timeout or device.base_timeout
32 def wait_for_prompt(self, timeout: float | None = None) -> bool:
35 statement will occur (return True) or timeout will be exceeded (return
38 timeout = timeout or self.base_timeout
39 timeout_time = time.time() + timeout
44 line = self._device.readline(timeout=0.5, print_output=False)
46 # ignore read timeout and try to send enter once again
54 self, command: str, timeout: float | None = None, print_output: bool = True
62 timeout = timeout or self.base_timeout
72 regex=regex_command, timeout=1.0, print_output=print_output
78 regex=regex_prompt, timeout=timeout, print_output=print_output