Re: Internal Modem
Re: Internal Modem
- Subject: Re: Internal Modem
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 26 Nov 2001 16:06:31 +0100
Le lundi 26 novembre 2001, ` 01:30 , Ingvar Nedrebo a icrit :
On Saturday, November 24, 2001, at 12:52 pm, Gerriet M. Denkmann wrote:
I would like to write a small App, which dials a number on the internal
modem (G4 cube, OS X 10.1.1.)
But I cannot find any documentation about the commands this modem
understands.
Is there any example code using the modem available?
You could have a look at the modem script in /Library/Modem Scripts.
They're a bit cryptic, but it's a starting point.
Let's hope it understands at least the Hayes commands.
As there is a sample code available on Apple ADC site showing how to
communicate via I/O Kit call to the Serial Modem, what's left is to send
the appropriate AT commands to the Modem with this code.
http://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/Serial/
SerialPortSample.htm
A good link to AT commands:
http://www.com1-support.com/docs/4in1/pstn/technic/at2.htm