comp.lang.ada
 help / color / mirror / Atom feed
From: Sam Valenti <x498@truman.edu>
Subject: Re: Modem Application
Date: 1998/05/16
Date: 1998-05-16T00:00:00+00:00	[thread overview]
Message-ID: <355DB6AF.4010D37A@truman.edu> (raw)
In-Reply-To: 355D5371.35A94C79@cl.cam.ac.uk


Thanks for your help.

Markus Kuhn wrote:

> Sam Valenti wrote:
> > I am trying to get input from a modem (the tones it hears when online).
> > I have no idea how to do this.  I've tried researching in the library
> > and on PAL for anything, but to know avail.  I guess my specific
> > question is how do you do input from a peripheral.
>
> You have to learn how to communicate with an RS-232 serial port from
> Ada, and then you have to read the manual for your modem concerning the
> AT command set that it implements (there are also some TIA/EIA and
> ITU-T recommendations on this subject, but better stick with your
> modem manual). How to access the serial port depends on your operating
> system. Under Linux for instance, just open the file /dev/cua1
> and use the ioctl() C function (via pragma Import or via a POSIX.5
> library such as florist).
>
> Markus
>
> --
> Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK
> email: mkuhn at acm.org,  home page: <http://www.cl.cam.ac.uk/~mgk25/>







      reply	other threads:[~1998-05-16  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-15  0:00 Modem Application Sam Valenti
1998-05-16  0:00 ` Markus Kuhn
1998-05-16  0:00   ` Sam Valenti [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox