Re: Pyserial - send and receive characters through linux serial port

2008-05-02 Thread Gabriel Genellina
En Fri, 02 May 2008 15:44:09 -0300, terry <[EMAIL PROTECTED]> escribió: On May 2, 10:26 am, terry <[EMAIL PROTECTED]> wrote: On Apr 26, 8:21 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > Much of the time the exercise of writing a small demo program > will lead you to the answer.  If not, then

Re: Pyserial - send and receive characters through linux serial port

2008-05-02 Thread terry
On May 2, 10:26 am, terry <[EMAIL PROTECTED]> wrote: > On Apr 26, 8:21 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > > > > > > > On 2008-04-25, terry <[EMAIL PROTECTED]> wrote: > > > > I am trying to send a character to '/dev/ttyS0' and expect the > > > same character and upon receipt I want to se

Re: Pyserial - send and receive characters through linux serial port

2008-05-02 Thread terry
On Apr 26, 8:21 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2008-04-25, terry <[EMAIL PROTECTED]> wrote: > > > I am trying to send a character to '/dev/ttyS0' and expect the > > same character and upon receipt I want to send another > > character. I tired withPyserialbut in vain. > > Pyserial

Re: Pyserial - send and receive characters through linux serial port

2008-04-26 Thread Grant Edwards
On 2008-04-25, terry <[EMAIL PROTECTED]> wrote: > I am trying to send a character to '/dev/ttyS0' and expect the > same character and upon receipt I want to send another > character. I tired with Pyserial but in vain. Pyserial works. I've been using it almost daily for many years. Either your p

Re: Pyserial - send and receive characters through linux serial port

2008-04-26 Thread Bjoern Schliessmann
terry wrote: > I am trying to send a character to '/dev/ttyS0' and expect the > same character and upon receipt I want to send another character. > I tired with Pyserial but in vain. Pyserial works very well for me (despite the device I connect to has quite a screwed protocol and implementation).

Re: Pyserial - send and receive characters through linux serial port

2008-04-25 Thread Gabriel Genellina
En Fri, 25 Apr 2008 20:22:37 -0300, terry <[EMAIL PROTECTED]> escribió: I am trying to send a character to '/dev/ttyS0' and expect the same character and upon receipt I want to send another character. I tired with Pyserial but in vain. I assume you have a device attached to /dev/ttyS0 that ech

Pyserial - send and receive characters through linux serial port

2008-04-25 Thread terry
Hi, I am trying to send a character to '/dev/ttyS0' and expect the same character and upon receipt I want to send another character. I tired with Pyserial but in vain. Test Set up: 1. Send '%' to serial port and make sure it reached the serial port. 2. Once confirmed, send another character. I