From owner-freebsd-java Thu Sep 7 4:28:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id CD2F237B423 for ; Thu, 7 Sep 2000 04:28:51 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JTW6067PV0000GA7@research.kpn.com> for freebsd-java@freebsd.org; Thu, 7 Sep 2000 13:28:49 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Thu, 07 Sep 2000 13:28:48 +0100 Content-return: allowed Date: Thu, 07 Sep 2000 13:28:47 +0100 From: "Koster, K.J." Subject: RE: Reading data feed from serial port To: 'ych' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7854@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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