[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 applications attached to one serial port.



On Tuesday 31 January 2006 02:32 pm, Rubén Navarro Huedo wrote:
> Hello friends:
> My name is Ruben and i am from Spain.
> I am administrator of an online weather server.
> We have a weather station connected to the serial port of the server.
> Weather station ONLY sends data, doesn't receive anything from PC.
> At this moment we have one software attached directly to /dev/ttyS0, but we
> want test another Sotware.
> What we have been testing is:
>
> tee /dev/ptyt0 /dev/ptyt1 < /dev/ttyS0 > /dev/null &
>
> And the attach one software to /dev/ttyt0 and the other to /dev/ttyt1
>
> We have been testing but...some data is losen in /dev/ttyto and /dev/ttyt1
> I don't understand why :(
>
> Do you know if i could do this using another command?
> Am i doing this Ok?
>
> Please...we need some help, we have been some weeks fighting with it ;(
>
> A lot of thank's.
>
> P.D. Excuse my poor English, but i don't explain very well.
>
> Thank's

http://linuxgazette.net/122/TWDT.html#Intro

might be of interest

anoop.



Reply to: