On Tue, Sep 14, 2010 at 3:46 PM, <exar...@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
following
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
command.
After I've send a command to one of my slaves the salve ALWAY reply by
sending
a packet.

So what's the benefit if I have a "deamon thread" waiting the hole time to
get
something from the serial line if the only time it can get something is
immediately
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: mhu...@imko.de
internet: www.imko.de
_________________________________________________________________
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to