PDA

View Full Version : Accessing modem statistics using RAS or TAPI


Martin
01-24-2002, 11:04 AM
Is it possible to use a RAS or TAPI API call to access modem statistics via software.
I can get the data using hyperteminal by issuing ATI4 to a 3com modem but can I acceess this data programatically

wizbones
01-24-2002, 04:06 PM
You could use it at the command level in DOS

For instance if your modem is on com port 3 do the following

at a DOS prompt type:

echo at&f>com3
press ENTER

you should be back at a prompt or get an error writing to port.

If you get a prompt type:

echo ata>com3
press ENTER
You should hear the modem handshake (some modems wont make any noise)

to shut it up type:
echo ath>com3
press ENTER

for what you're wanting send the command

echo ati4>com3 etc I think you get the gist of it.