modems in OSX
RCS
rcs at rcsprogramming.com
Fri May 9 01:19:01 EDT 2003
That article explains how to use the low-level commands from the operating
system...MetaCard is already doing all of this stuff for you! Have you tried
just opening the modem port? I haven't tried this in OSX (or any newer Mac
hardware that doesn't have physical ports) so I am not sure what the
behavior will be...
set the serialControlString to "BAUD=57600 PARITY=N DATA=8 STOP=1"
open file "MODEM:"
write "ATZ" to file "MODEM:"
##-- see if you get a response
read from file "MODEM:" until EOF ##-- or RETURN
put it
(unless I am totally misunderstanding the idea of the 'driver' function...I
was never able to get that to work with anything)
let us know what you find...
JR
> Message: 7
> From: tech at paynesparkman.com
> To: MetaCard Mail List <metacard at lists.runrev.com>
> Date: Thu, 08 May 2003 16:18:30 -0400
> Subject: modems in OSX
> Reply-To: metacard at lists.runrev.com
>
> Does anyone know how to initialize, write to and read from a modem on an
iBook running OSX? I've tried using the info at this link:
> http://developer.apple.com/techpubs/mac/Devices/Devices-315.html
> but, no dice. I'm trying to do it with the 2.4.3 engine.
>
> Rich Mooney
> Payne Sparkman Mfg.
> http:\\www.paynesparkman.com
More information about the metacard
mailing list