[Twisted-Python] serial port protocols

Can twisted be used to access a serial port on OS X, MS Windows, linux, etc ??? Is there any support for serial protocols (eg. BISYNC, PPP, etc) ??? Can twisted be used to create custom serial protocols ??? Thanks, Brendan.

On Sat, 2009-06-13 at 21:13 +1000, Brendan Simon wrote:
Can twisted be used to access a serial port on OS X, MS Windows, linux, etc ???
Yes, via the twisted.internet.serial module.
Is there any support for serial protocols (eg. BISYNC, PPP, etc) ???
You'd have to write them yourself, except for a couple, e.g. Logitech Serial Mouse (http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.2.0/twisted/pr...) and a couple of GPS protocols.
Can twisted be used to create custom serial protocols ???
Yes. For example, http://twistedmatrix.com/projects/core/documentation/examples/mouse.py shows how to use the mouse protocol.

On Sat, 2009-06-13 at 21:13 +1000, Brendan Simon wrote:
Can twisted be used to access a serial port on OS X, MS Windows, linux, etc ???
Yes, via the twisted.internet.serial module.
Is there any support for serial protocols (eg. BISYNC, PPP, etc) ???
You'd have to write them yourself, except for a couple, e.g. Logitech Serial Mouse (http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.2.0/twisted/pr...) and a couple of GPS protocols.
Can twisted be used to create custom serial protocols ???
Yes. For example, http://twistedmatrix.com/projects/core/documentation/examples/mouse.py shows how to use the mouse protocol.
participants (2)
-
Brendan Simon
-
Itamar Shtull-Trauring