Date: Tue, 09 Nov 1999 22:03:23 +0200 From: Oren Sarig <sarig@bezeqint.net> To: Joss Roots <osiris2002@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and Patient Monitoring !! Message-ID: <001f01bf2aed$7a9d2d00$197819d4@asmodean> References: <19991109183337.12224.rocketmail@web118.yahoomail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <osiris2002@yahoo.com> To: Oren Sarig <sarig@bezeqint.net> Cc: <freebsd-questions@freebsd.org> 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 <sarig@bezeqint.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001f01bf2aed$7a9d2d00$197819d4>