> I've experiences quite differing behaviour from various modems
> in response to the '+++' and 'ATH' commands.
> Some devices tolerate zero guard time, some definitely require
> it (though IMHO 3seconds is a lot...). One unit actually
> responded with an 'OK' to the '+++'. Be prepared :)
I think it should do that - it's going into command mode, after
all.
> I decided to turn to the 'drop DTR' method of hanging up - but
> if the OP only needs to enter command mode temporarily, that's
> of course not going to help him...
A couple of further thoughts for Rishi: make sure that you
haven't included a <carriage return> with the "+++". And
because some systems will buffer the output (flushing with a
<carriage return> for instance), you might need to read up on
flushing the "+++" from the buffers in your compiler's
documentation.
John
Per Laursen - 11 Apr 2005 16:33 GMT
> I think it should do that - it's going into command mode, after
> all.
You could very well be right - the 'standards' leave a lot to the
interpretation of manufactures and users, IMO.
Anyway, two of three (Ericsson GM29 and Siemens TC35) do not respond with
'ok' to the '+++', one (OvisLink G??1500 PCMCIA - not sure about the exact
p/n) does.
/Per
John Henderson - 11 Apr 2005 21:42 GMT
> You could very well be right - the 'standards' leave a lot to
> the interpretation of manufactures and users, IMO.
> Anyway, two of three (Ericsson GM29 and Siemens TC35) do not
> respond with 'ok' to the '+++', one (OvisLink G??1500 PCMCIA -
> not sure about the exact p/n) does.
That's interesting. I'm not saying you're wrong, but the TC35
"AT Command Set" manual I've got clearly shows an "OK" response
to "+++". I've never used a TC35 though.
It goes on to specify a guard time of "1000 ms", and mentions
that the three "+" characters must be sent "all within 1000
ms".
As an aside, a modem with zero guard time could not be used to
connect to an ISP and post this message - because it contains
the "escape to command mode" sequence.
John
rishi.israni@gmail.com - 13 Apr 2005 02:56 GMT
i solved my problem...
I was making a mistake..i was hoping to disconnect from a smtp session
using +++. The escape sequence works after i send a QUIT commands to
the smtp and service channel is closed.
I have to be able to send http packets over the gprs connection that i
have established...Is it by anyway possible to direct my program to use
the gprs connection instead of the normal lan that i use...?
There is a class by the name of WebClient in .NET which handles http. I
was hoping if i could redirect the communication via my gprs connection
then i would not need to send http commands on the wire myself.
Cheers
Rishi
rishi.israni@gmail.com - 19 Apr 2005 02:20 GMT
I am using rasdial.exe and i call it from my program to dialup my gprs
connection.
then i can use .net's built in webclient class to access the internet.
cheers
Rishi