> On Mar 10, 2016, at 12:37 AM, Chris West wrote:
>
> Adi,
>
> Thanks for the reply, I've applied the patch and that has sorted out my
> problem.
Would you mind putting a comment on a ticket to that effect?
-glyph
___
Twisted-Python mailing list
Tw
Adi,
Thanks for the reply, I've applied the patch and that has sorted out my problem.
Many thanks,
Chris
Date: Wed, 9 Mar 2016 09:59:21 +
From: Adi Roiban
To: Twisted general discussion
Subject: Re: [Twisted-Python] Twisted serialport
Message-ID:
Content-Type: text/plain; ch
On 9 March 2016 at 09:53, Chris West wrote:
> I’m currently using the SerialPort connection type in twisted 15.5.0 with
> python 2.7.7 on a windows machine.
>
>
>
> Twisted serial communications with the serial port fail when pyserial is
> upgraded from 2.7 to 3.0.1 and fails with the following e
I'm currently using the SerialPort connection type in twisted 15.5.0 with
python 2.7.7 on a windows machine.
Twisted serial communications with the serial port fail when pyserial is
upgraded from 2.7 to 3.0.1 and fails with the following error.
Traceback (most recent call last):
File "C:\Anac
On 29/08/13 17:15, Sivakumar Balasubramanian wrote:
Dear Phil,
I replaced thye dataReceived function by stringReceived, and ran the code.
But when I do this, the program does not even enter the stringReceived function.
That implies your protocol isn't an int16string-prefixed one. I assumed
it
Phil Mayers imperial.ac.uk> writes:
>
> On 29/08/13 16:38, Sivakumar Balasubramanian wrote:
>
> > Is there something that I doing wrong in my code?
>
> Yes. You are sub-classing Int16StringReceiver, but then breaking things
> by overriding dataReceived. You should be implementing stringReceiv
On 29/08/13 16:38, Sivakumar Balasubramanian wrote:
Is there something that I doing wrong in my code?
Yes. You are sub-classing Int16StringReceiver, but then breaking things
by overriding dataReceived. You should be implementing stringReceived,
and you'll get complete strings.
dataReceived
I am tyring to implement a python program, using Twisted, to communicate
witha bluetooth device. The following is a sample code of what I have
implemented:
from twisted.internet import protocol, reactor
from twisted.internet.serialport import SerialPort
from twisted.protocols import basic
class D