<html>
<head>
</head>
<body>
<pre wrap="">Mike, Thanks for your reply - very helpful. <br><br>Further on the interrogation of a GPRS modem. Be aware that most modems allow a more elegant (and speedy) means of executing commands whilst in a call (both PPP and data call). (ie. to check Signal Strength, issue AT commands, perhaps change pin numbers etc whilst still in a session).<br><br>There is an AT config command which allows you to switch between command (issue AT commands) and Data Mode (assuming you are in a PPP session for GPRS or data call for GSM) using the DTR signal line. When this mode is set prior to the connection, you can raise/lower DTR to go between modes - This effectively avoids the 1 second delay whilst the +++ escape sequence takes hold and gives some certainty to the call mode - always a bit dodgy when you have multiple reasons why +++ wont work.<br><br>Ive tested this method (ie. pausing PPP session to execute commands) on several modems with success from a PC, however not from
Ethernut yet but expect no issues.<br><br>Cheers and Thanks<br>Brett<br><br><br>Message: 5
From: "Mike Cornelius" <a class="moz-txt-link-rfc2396E" href="mailto:mikec@call-direct.com.au"><mikec@call-direct.com.au></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:en-nut-discussion@egnite.de"><en-nut-discussion@egnite.de></a>
Subject: RE: [En-Nut-Discussion] PPP Retrying when no PPP/GPRS is available
Date: Wed, 24 Sep 2003 11:06:51 +1000
Organization: CDCS
Reply-To: <a class="moz-txt-link-abbreviated" href="mailto:en-nut-discussion@egnite.de">en-nut-discussion@egnite.de</a>
Hi Brett,
Second things first, I've not tried interrupting the PPP session whilst
it's going and then going back.
I assume you're thinking something like:
<>PPP[]
</pre>
<blockquote type="cite">
<pre wrap=""><span class="moz-txt-citetags">></span>+++
<span class="moz-txt-citetags">></span>AT+CSQ?
</pre>
</blockquote>
<pre wrap=""><!----><+CSQ: ??,??
</pre>
<blockquote type="cite">
<pre wrap=""><span class="moz-txt-citetags">></span>ATO
</pre>
</blockquote>
<pre wrap=""><!----><>PPP[]
But it's certainly an interesting idea and if I get a chance I give it a
whirl and let you know what I find.</pre>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
-----------------------------------------------------------------
Brett Abbott, Managing Director, Digital Telemetry Limited
Email: <a class="moz-txt-link-abbreviated" href="mailto:Brett.Abbott@digital-telemetry.com">Brett.Abbott@digital-telemetry.com</a>
PO Box 24 036 Manners Street, Wellington, New Zealand
Phone +64 (4) 5666-860 Mobile +64 (21) 656-144
------------------- Commercial in confidence --------------------
</pre>
</body>
</html>