I think I asked this before and the answer (from Paul Kelly)
was you can't do this generically because the modem can
change speeds mid call (retrain). Also there is no standard
AT command to get the current speed IIRC. In summary windows
is (sometimes?) lying when it reports the connection speed?
Pádraig.
Nah,
Modem speed, as reported, is usually what the modem reported in the
'CONNECT 38400' or whatever line when the dialup happened ... it's _very_
unusual for a modem to retrain mid-call (the main exception being GSM HSCSD
modems)
The connection speed reported by the modem will be either the DCE or
the DTE speed depending on the initilisation settings (and the value of the
S95 register on rockwell based modems). This can be what people mean when
they say that the modem is lying, telling them it's CONNECT 115200 rather
than CONNECT 2400 <g>
P
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!