Home | History | Annotate | Download | only in urlhandler

Lines Matching refs:serial

3 # Python Serial Port Extension for Win32, Linux, BSD, Jython
14 import serial
15 import serial.tools.list_ports
17 class Serial(serial.Serial):
18 """Just inherit the native Serial port implementation and patch the open function."""
23 serial.Serial.setPort(self, self.fromURL(value))
25 serial.Serial.setPort(self, value)
31 for port, desc, hwid in serial.tools.list_ports.grep(url):
34 raise serial.SerialException('no ports found matching regexp %r' % (url,))
37 port = property(serial.Serial.getPort, setPort, doc="Port setting")
41 #~ s = Serial('hwgrep://ttyS0')
42 s = Serial(None)