Lines Matching refs:port
66 def __init__(self, ip, port, username, password): argument
68 self.port = int(port)
83 … self.__handle.connect(self.ip, port=self.port, username=self.username, password=self.password)
120 print('%s - %s - %s' % (self.port, time.strftime('%b %d %H:%M:%S'), msg))
127 def __init__(self, port, baudrate): argument
128 self.port = port
129 self.__handle = serial.Serial(port, baudrate, timeout=0)
173 print('%s - %s - %s' % (self.port, time.strftime('%b %d %H:%M:%S'), msg))
204 raise Exception('%s: failed to find end of response' % self.port)
216 print('[%s] Got line [%r]' % (self.port, line))
224 print('[%s] Expected [%r]' % (self.port, expected))
305 return SerialHandle(self.port, 115200)
393 def send_udp(self, interface, dst, port, payload): argument
395 super(OpenThread_BR, self).send_udp(interface, dst, port, payload)
403 cmd = '/home/pi/reference-device/send_udp.py %s %s %s %s' % (ifname, dst, port, payload)
678 alias, addr, port, thread_status = eval(line)
682 return addr, port