Lines Matching refs:timeout
187 self.pexpect = pexpect.popen_spawn.PopenSpawn(cmd, timeout=30)
192 timeout = 0.4
193 while timeout > 0:
196 self.pexpect.expect('> ', timeout=0.1)
199 timeout -= 0.1
665 self.pexpect = pexpect.popen_spawn.PopenSpawn(self._cmd_prefix + cmd, timeout=10)
668 timeout = 0.4
669 while timeout > 0:
672 self.pexpect.expect('> ', timeout=0.1)
675 timeout -= 0.1
748 self.pexpect = pexpect.spawn(self._cmd_prefix + cmd, timeout=10)
792 def _expect(self, pattern, timeout=-1, *args, **kwargs): argument
794 if timeout == -1:
795 timeout = self.pexpect.timeout
797 assert timeout > 0
799 while timeout > 0:
803 timeout -= 0.1
805 if timeout <= 0:
808 def _expect_done(self, timeout=-1): argument
809 self._expect('Done', timeout)
876 def read_cert_messages_in_commissioning_log(self, timeout=-1): argument
891 self._expect(pattern, timeout=timeout)
1017 self._expect_done(timeout=0.1)
1019 except (pexpect.TIMEOUT, socket.timeout):
1454 def set_epskc(self, keystring: str, timeout=120000, port=0): argument
1455 cmd = 'ba ephemeralkey set ' + keystring + ' ' + str(timeout) + ' ' + str(port)
1634 timeout = int(line[1])
1637 table[ip] = timeout
1646 def multicast_listener_add(self, ip: Union[IPv6Address, str], timeout: int = 0):
1659 def register_multicast_listener(self, *ipaddrs: Union[IPv6Address, str], timeout=None): argument
1664 if timeout is not None:
1850 def set_child_supervision_check_timeout(self, timeout): argument
1851 self.send_command('childsupervision checktimeout %d' % timeout)
1940 def set_timeout(self, timeout): argument
1941 cmd = 'childtimeout %d' % timeout
2536 timeout = 1
2538 timeout = 8
2540 self._expect_done(timeout=timeout)
2547 timeout = 1
2549 timeout = 8
2551 self._expect_done(timeout=timeout)
2565 timeout = 1
2567 timeout = 8
2569 self._expect('Energy:', timeout=timeout)
2577 timeout = 1
2579 timeout = 8
2581 self._expect('Conflict:', timeout=timeout)
2583 def scan(self, result=1, timeout=10): argument
2586 self.simulator.go(timeout)
2604 def scan_energy(self, timeout=10): argument
2606 self.simulator.go(timeout)
2616 …def ping(self, ipaddr, num_responses=1, size=8, timeout=5, count=1, interval=1, hoplimit=64, inter… argument
2625 end = self.simulator.now() + timeout + wait_allowance
2635 i = self._expect([r'from (\S+):', r'Done'], timeout=0.1)
2636 except (pexpect.TIMEOUT, socket.timeout):
2663 self._expect(r"[^\n]+\n", timeout=0.1)
3040 timeout = 1
3042 timeout = 5
3046 timeout=timeout)
3068 timeout = 1
3070 timeout = 5
3074 timeout=timeout)
3093 timeout = 1
3095 timeout = 5
3097 self._expect(r'Subscribing client\b', timeout=timeout)
3105 timeout = 1
3107 timeout = 5
3109 self._expect(r'Received ACK in reply to notification from ([\da-f:]+)\b', timeout=timeout)
3156 timeout = 1
3158 timeout = 5
3160 self._expect_done(timeout=timeout)
3191 timeout = 1
3193 timeout = 5
3195 self._expect_done(timeout=timeout)
3203 timeout = 1
3205 timeout = 5
3207 self._expect('coaps connected', timeout=timeout)
3221 timeout = 1
3223 timeout = 5
3225 self._expect('coaps response', timeout=timeout)
3833 …def ping_ether(self, ipaddr, num_responses=1, size=None, timeout=5, ttl=None, interface='eth0') ->… argument
3961 def browse_mdns_services(self, name, timeout=2): argument
3970 time.sleep(timeout)
3980 def discover_mdns_service(self, instance, name, host_name, timeout=2): argument
3997 time.sleep(timeout)
4010 time.sleep(timeout)