Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 21:33:22 -0800
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Alvaro Rosales" <aran80@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: How to read Serial Port data
Message-ID:  <LOBBIFDAGNMAMLGJJCKNMEMNEPAA.tedm@toybox.placo.com>
In-Reply-To: <e044f2070412211343254bcb7e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
What kind of program are you trying to write?  If it's a C
program then forget it - you should know how to do this
simple of a task before attempting to write this.

I suggest you do some digging on the Internet and look for some
Perl modules that control the serial port for you, and write
the program in Perl.  Examples abound already, just use a search
engine.

Ted

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Alvaro Rosales
> Sent: Tuesday, December 21, 2004 1:44 PM
> To: freebsd-questions@freebsd.org
> Subject: How to read Serial Port data
> 
> 
> Hi guys, 
> I am trying to write a program to control my Alcatel telephonic
> central, this device has a  serial interfase that can be connected to
> a computer serial port, I want to read all the data that the alcatel
> device is sendind to my serial port
> Can you tell me how can I redirect all the data that comes trough my
> serial port to a file in FreeBSD?.
> thanks in advance
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 



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