[Twisted-Python] Selectable SerialPort Windows/Linux

Markus Hubig mhubig at imko.de
Tue Sep 14 10:00:18 EDT 2010

On Tue, Sep 14, 2010 at 3:46 PM, <exarkun at twistedmatrix.com> wrote:

> I'm not sure I understand this.  What is a "Master-Slave" protocol?  Why
> would someone not benefit from a Twisted-based implementation of such a
> protocol?

OK I'm not sure either ;-) this is why I ask. But in my case I have the
situation: behind my serial port I have a bus system made of me (the master)
and some slaves. The slaves are absolute passive until I send them a
After I've send a command to one of my slaves the salve ALWAY reply by
a packet.

So what's the benefit if I have a "deamon thread" waiting the hole time to
something from the serial line if the only time it can get something is
after the master has send a packet? The communication
is totally synchronous.

- Markus


IMKO Micromodultechnik GmbH
Markus Hubig
System Administration & Development
Im Stoeck 2
D-76275 Ettlingen / GERMANY

HR: HRB 360936 Amtsgericht Mannheim
President: Dipl.-Ing. (FH) Kurt Koehler

Tel: 0049-(0)7243-5921-26
Fax: 0049-(0)7243-5921-40
e-mail: mhubig at imko.de
internet: www.imko.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100914/54d1bd6e/attachment.htm 

More information about the Twisted-Python mailing list