From owner-freebsd-questions Tue Nov 9 12: 4:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id 6E62514D9F for ; Tue, 9 Nov 1999 12:04:14 -0800 (PST) (envelope-from sarig@bezeqint.net) Received: from asmodean ([212.25.120.25]) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FKY00K4052OMR@mail.bezeqint.net> for freebsd-questions@freebsd.org; Tue, 9 Nov 1999 22:04:03 +0200 (IST) Date: Tue, 09 Nov 1999 22:03:23 +0200 From: Oren Sarig Subject: Re: FreeBSD and Patient Monitoring !! To: Joss Roots Cc: freebsd-questions@freebsd.org Message-id: <001f01bf2aed$7a9d2d00$197819d4@asmodean> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 References: <19991109183337.12224.rocketmail@web118.yahoomail.com> X-Priority: 3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I said, I've never tried this before :) It's probably a matter of reading (maybe even just using `cat` without programming) from /dev/cuaaX or whatever device you need (Device names for serial ports are listed in the FAQ, if I recall correctly). I know this is vague, but I have never even messed with the serial port before :) (My modem is internal, and I have no device connected to the serial port). I assume that getting ASCII input from the serial port shouldn't be hard though. -- Oren Sarig sarig@bezeqint.net ----- Original Message ----- From: Joss Roots To: Oren Sarig Cc: Sent: Tuesday, November 09, 1999 8:33 PM Subject: Re: FreeBSD and Patient Monitoring !! > Hi there, > thanks for replying. > Any example of how to do that. > any pointer to URL is highly appreciated. > I am ready to put some muscle, and possibly > sweat :-), in this type of programming. > > any programs out there for interpreting such > ASCII commands. > any programs how to open serial port. > I mean assuming that I wont need to write > a driver, since most probably the data is coming > raw, and very basic out of these serial ports, > so how would I capture this. > Any program headers for setting up the serial > data communication is appreciated. > thanks alot. > > > --- Oren Sarig wrote: > > Hmm... never tried this, but maybe try to look > > at the data > > passed through the serial port in ASCII? > > Possibly the > > commands are in ASCII, so you would be able to > > write a > > driver without having the protocol, with some > > patience to > > look at how things are done. > > > > -- > > Oren Sarig > > sarig@bezeqint.net > > > > > I am not actually working in any of these > > companies, nor > > have ever heard > > > anything about the equipment mentioned above. > > However, I > > can do some > > > wild guessing about all this stuff. > > > > > > A serial port is a very generic interface for > > transmitting > > digital data, > > > and this generic nature of it is it's power. > > However, you > > need to know > > > /what/ to transmit and /when/ in order to > > communicate with > > something on > > > the other end of this "interface." > > > > > > This knowledge of what to transmit and the > > time to send > > it, can be > > > called a *protocol*. So, if HP or Marquette > > give you or > > somebody else > > > the information about this protocol, it will > > be relatively > > easy to write > > > simple programs for logging or even > > displaying under > > FreeBSD. > > > > > > Provided that this protocol is not some > > valuable-secret of > > HP or someone > > > else, and it's what we call an _open_ > > protocol, you can do > > some > > > interesting stuff with your FreeBSD. If that > > is not true > > (and there is > > > no information on the communication protocol > > used) you're > > probably stuck > > > with what your verdors provide you with. > > > > > > My apologies for my long and probably useless > > posting. > > > > > > > > > > To Unsubscribe: send mail to > > majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the > > body of the message > > > > > ===== > MAY THE FORCE BE WITH YOU. > __________________________________________________ > Do You Yahoo!? > Bid and sell for free at http://auctions.yahoo.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message