Article View: borland.public.cppbuilder.nativeapi
Article #11644Re: Retrieve modem status:how?
From: Davide Puccioni
Date: Tue, 27 Jan 2004 16:06
Date: Tue, 27 Jan 2004 16:06
28 lines
2011 bytes
2011 bytes
Bob Gonder wrote: > I would think that what they are calling RLSD is the CD line (Carrier > Detect). CD goes away when the modem hangs up. CTS and DSR are almost > always up (they can fluctuate) as long as the modem has power (you > need to be able to talk to the modem off-line). > > DSR DataSetReady means the modem has power. > CTS ClearToSend means the modem is ready to listen to you (not busy > reseting or processing the last batch of data you sent it, so can't > take any more right now). > RING is.well, Ring, the phone is ringing (incoming call). > That leaves RLSD for "A connection (to another modem) has been > established". > > I've tried to pick a piece of code with GetCommModemStatus() function that updates a label on main form with current DSR CTS and RLSD values. When link between modem was established, all three values became 1 contemporarily. Hanging up one of the modems, all of them returns to 0. I don't understand... :-( Thanks anyway. Davide.
Technical Details
Message-ID:
<40168C96.2050400@nospam.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40164011.60901@nospam.com> <ie1d10pgtqnaaqdp0bokqdn5m1ghmsegc1@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b4799acf7efcb3a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-27 08:11:14 PST Message-ID: <40168C96.2050400@nospam.com> Date: Tue, 27 Jan 2004 17:06:46 +0100 From: Davide Puccioni <davide70@nospam.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Retrieve modem status:how? References: <40164011.60901@nospam.com> <ie1d10pgtqnaaqdp0bokqdn5m1ghmsegc1@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 82.84.173.65 X-Trace: newsgroups.borland.com 1075219606 82.84.173.65 (27 Jan 2004 08:06:46 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail