At 16:22/29/Mar, James Mckenzie (1:309/63) said:
====================================
RC>> USR modems do not support the Wn command. USR modems _always_ return
RC>> DCE speed, never DTE speed.
JM> Thanks for the correction. I would like to know if there is a method
with
JM> USR modems to return the connect speed, type of compression/error
JM> correction. I should know the DCE speed even under Windows95 as that is
JM> set under the connect properties for the modem.
Well, the DCE speed is the modem-modem speed, the speed set in "properties"
is the DTE speed (modem - PC).
That aside, the USR will return:
CONNECT ///
with the default setting AT&F1. Specifically, the &An command controls what
is returned, with AT&A3 returning the whole string. Here's an example:
CONNECT 28800/ARQ/V34/LAPM/V42BIS
Here's a Win95 Modemlog.txt that shows the process in Win95:
----- MODEMLOG.TXT begins -----
03-23-1998 13:59:34.35 - Modem type: Sportster 56000 Fax External
03-23-1998 13:59:34.35 - Modem inf path: USRSPX2.INF
--------CUT-------
03-23-1998 13:59:37.45 - Dialing.
03-23-1998 13:59:37.45 - Send: ATDT#######
03-23-1998 13:59:56.24 - Recv: CONNECT
28800/ARQ/V34/LAPM/V42BIS
03-23-1998 13:59:56.24 - Interpreted response: Connect
03-23-1998 13:59:56.24 - Connection established at 28800bps.
03-23-1998 13:59:56.24 - Error-control on.
03-23-1998 13:59:56.24 - Data compression on.
----- MODEMLOG.TXT ends -----
Win95's Dial Up Networking doesn't simply "display" the connect string, it
attempts to match it with data from the .INF file and it determines what to
display depending on whether a successful match was obtained.
That's why a proper .INF file is necessary to see the DCE speed displayed.
Rick
--- Msged 4.00
---------------
* Origin: The Warlock's Cave, Ottawa ON (1:163/215.39)
|