473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Linux, open /dev/modem and communicate ?

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

--
Spam:newsgroup(at)cr*********@verisign-sux-klj.com
EMail:<0110001100101110011000100111010101110010011 010110
11001010100000001100011011100100110000101111010011 011100
11000010111001000101110011000110110111101101101001 00000>
Jul 19 '05 #1
1 3105
127.0.0.1 <ne*******@127.0.0.1> wrote in message news:<MP************************@news-server.qld.bigpond.net.au>...
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
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Math55 | last post by:
hi, i have this piece of code: --- #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <termios.h> #include <stdio.h> /* baudrate settings are defined in...
2
by: Simon T. | last post by:
Hello All, I am new to C# and the .NET framework, so please forgive and pity me if the question and understand reveals massive ignorance. I am trying to get SerialPort talking to a "Standard...
2
by: findyasir | last post by:
Hi all, I am having problem comunication with serial port in linux. I have tested the serial port with attaching a serial modem and dialing the numbers with wvdial. it works okie but when i...
1
by: mm | last post by:
Hi, I have a modem connected to the serial port and I can communicate using Windows HyperTerminal. When I try to send a 'AT' command using the SerialPort object I get receive timeout errors....
1
by: mavester | last post by:
Hi all, i need some help in order for me to startup my project. Here is the device and dscription i stated below: s/w needed: vs2003 or vs 2005 language: any code behind for which is suitable ...
7
by: cj | last post by:
Has anyone figured out a way with VB2005 to send a numeric message to a pager using a common 56kb modem?
1
by: just4priya | last post by:
Hi, I have 2 hosts running on debian OS I have 2 Ruckus modems. I have set the following in the /etc/network/interfaces auto lo iface lo inet loopback
1
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.