Path: utzoo!attcan!uunet!samsung!brutus.cs.uiuc.edu!apple!goofy.apple.com!chesley From: chesley@goofy.apple.com (Harry Chesley) Newsgroups: comp.sys.mac.programmer Subject: Re: How do I determine the serial line speed? Message-ID: <6159@internal.Apple.COM> Date: 12 Jan 90 18:50:48 GMT References: <1225@mountn.dec.com> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 14 In article <1225@mountn.dec.com> minow@mountn.dec.com (Martin Minow) writes: > In a program that sends data through the serial line, I have a dialog > that sets the line parameters (line speed, parity, etc.) However, > I haven't discovered anything in Inside Mac that tells me how to > determine the current parameters, i.e., "Get" equivalents to > SerReset and SerHShake. Nope, as far as I know there's no way to find out what the current settings are, short of horrible practices like going out and talking to the SCC directly. In my programs, I keep a record of what I set the line to so I can return that information. Note that the Comm Toolbox does have a get configuration function.