frickin modems

burningodzilla
10-23-2001, 08:47 AM
ok...another post on talking with modems. i've been trying to find out if a modem is ready or not. i've been using the method suggested: send "ATDT"+chr$(13) to modem and wait for OK reply. this works good on my machine, but on this other machine i get a dialtone and it just waits....so i tried a couple other commands; "ATV" and "ATH". on my machine i get "OK", but on the other i get 0 or O.

SOoooo....unless there are any other ideas, i can assume that the best way (standard) to determine modem readiness is to loop thru and test either DSR, CD or CTS properties...?

thanks all for da help

Thinker
10-23-2001, 08:58 AM
The problem you are running into comes from these modems having either
ATE0 or ATV0 set. If you want to guarentee you get back an OK, try first
sending ATE1 and ATV1 first.

burningodzilla
10-23-2001, 09:17 AM
hey that worked! And all modems will respond with "OK" to either one?

Thinker
10-23-2001, 09:55 AM
The ATE1 command means turn echo on.
The ATV1 command means respond with verbal commands instead of
numbers.

burningodzilla
10-23-2001, 10:50 AM
so i should use ATV1 then. where did you learn all this? do you have like Hayes Modem Command Guide or something? If so i need one...

thanks for your help thinker. btw-my modem just replied w/ "BLACKLISTED". i was repeatedly testing it for responses. do you know what that means?

Thinker
10-23-2001, 12:14 PM
I have had a number of different modem books and guides over the years.
I remembered the E and V commands from long ago. If you just use ATV1
and the echo is off, you might not see any response, so I would do E1 first
then V1.
Blacklisted is a new one on me. That might be some kind of protection
against hackers. Possibly it will reset after a period of time, or when the
modem is powered off and on (internal modem means shutting down the
pc.)

burningodzilla
10-24-2001, 07:19 AM
thanks a ton thinker

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum