Linux, open /dev/modem and communicate ?

1

127.0.0.1

Is there any good examples (the one in the PerlFAQ isn't good) of how to
open up a /dev/ttyXX standard serial port, set the speed, then
read/write to/from it then close it ?

I am trying to write a caller-id logging program in perl, but so far
Linux serial port programming is proving more elusive than the Win32
stuff I have already got working.

Thanks
 
B

Bill

127.0.0.1 said:
Is there any good examples (the one in the PerlFAQ isn't good) of how to
open up a /dev/ttyXX standard serial port, set the speed, then
read/write to/from it then close it ?

I am trying to write a caller-id logging program in perl, but so far
Linux serial port programming is proving more elusive than the Win32
stuff I have already got working.

Thanks

install Device::SerialPort from cpan, provides intel style serial port
emulation for unix perl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top