Subj : Quiet!
To   : Sean Dennis
From : Peter Knapper
Date : Fri Sep 29 2006 03:05 pm

Hi Sean,

SD> I'm having problems with the modem init strings.  It's
SD> really weird...takes about 20-30 seconds to hang up.  I
SD> think that's what I'm needing.

What method are you using for terminating the call? By far the best method is
to drop DTR rather than rely on a modem control string (+++ATH0). However the
catch with this is that your S/W must be able to be configured to drop DTR,
Hold it DOWN for up to 3 seconds, then raise it again. Also the Modem must be
able to be configured for this as well (yes I have seen some Modems that don't
re-act to a DTR drop at all well).

Basically DTR must stay DOWN for whatever time the Modem requires to detect and
re-act to the dropping of DTR, and that seems to vary from Modem to Modem. My
settings for BinkleyTerm are -
       PreInit       |v~^`|`
This does CR, DTR down, wait 1 second, raise DTR, wait 50ms, CR, wait 50ms.
       Init          `ATZ|~
This does Wait 200ms, ATZ, CR, Wait 1 second.
       Hangup        |`v''
This does CR, wait 200ms, DTR down, wait 100ms.

This has been tuned for optimum performance with my modem. Not all modems are
equal in this respect.......;-)

Chers..................pk.


--- Maximus/2 3.01
* Origin: Another Good Point About OS/2 (3:772/1.10)