Lines Matching full:timeout
3 # Will list all devices found/lost within a time frame (timeout)
17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementation
125 timeout = 0 variable
148 # Timeout
151 timeout = value variable
153 print("Error:\n Timeout cannot be negative")
170 p2p_find_test = P2P_Find(interface_name, wpas_dbus_interface, timeout)
181 # If timeout is 0, then run forever
182 if (timeout == 0):
185 # Else sleep for (timeout)
187 time.sleep(p2p_find_test.timeout)