Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Sep 2000 22:21:18 +0800
From:      ych <yapbros@pl.jaring.my>
To:        "Koster, K.J." <K.J.Koster@kpn.com>
Cc:        "'FreeBSD Java mailing list'" <freebsd-java@freebsd.org>
Subject:   RE: Reading data feed from serial port
Message-ID:  <4.3.1.2.20000907221810.00b38100@pop2.jaring.my>
In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7854@l04.research.kpn. com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Yes I'm trying to do this using Java. I've managed to dial from /dev/cuaa0 
to the data feed using ppp. But do not know what to do next.

ych

At 01:28 PM 9/7/00 +0100, Koster, K.J. wrote:
>Hello,
>
> >
> > How can I read data feed that's coming in through the serial
> > port? Can I open a stream to /dev/something and proceed to read
> > from the stream?
> >
>"man sio" The serial ports are /dev/cuaa0 for COM1, /dev/cuaa1 for COM2. Are
>you trying to do this in Java, or in some other programming language?
>
>     Kees Jan
>
>=================================================
>  TV is the worst  of both  worlds.  It's not  as
>  good at words  as radio is because the pictures
>  are a distraction  which demand  attention, and
>  it's not as good as cinema because the pictures
>  are not nearly as good.
>                                  Douglas Adams




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000907221810.00b38100>