From Lee:
| commit
f12b251834a2344b924dfe1c4f37ca9dec0edff3
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date: Mon Aug 28 17:56:45 2006 +0000
|
| this timeout needs to be longer ... well, it really needs to be configurable,
| but for now just making it longer should be helpful
resp = (u_char) cmd[++i];
if (resp != AT_NOTHING) {
// XXX check return?
- (void) waitFor(resp, ms); // XXX ms
+ // The timeout setting here (60*1000) used to be "ms" (which
+ // defaults to 30 s), but we find that's too short, especially
+ // for long-running escape sequences. It really needs to be
+ // escape-configurable, but for now we just make it 60 s.
+ (void) waitFor(resp, 60*1000);
respPending = false;
}
break;