From Lee's work:
| commit
209f80ecfd684cc4b30a7007219aacf124e4755f
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date: Tue Aug 15 16:23:34 2006 +0000
|
| after a timeout and we abortReceive we need to remove the timeout true setting
startTimeout(ms);
if (!(atCmd(rhCmd, AT_NOTHING, 0) && waitFor(AT_CONNECT,0))) {
stopTimeout("waiting for v.21 carrier");
- if (wasTimeout()) abortReceive();
+ if (wasTimeout()) {
+ abortReceive();
+ setTimeout(false);
+ }
return (false);
}
stopTimeout("waiting for v.21 carrier");
if (lastResponse == AT_ERROR) gotEOT = true; // on hook
}
stopTimeout("waiting for v.21 carrier");
- if (wasTimeout()) abortReceive();
+ if (wasTimeout()) {
+ abortReceive();
+ setTimeout(false);
+ }
return (false);
}