u_short attempts = 0;
do {
(void) atCmd(rmCmd, AT_NOTHING);
- rmResponse = atResponse(rbuf, conf.class1RMPersistence ? conf.t2Timer : conf.t2Timer - conf.t4Timer);
+ rmResponse = atResponse(rbuf, conf.class1RMPersistence ? conf.t2Timer : conf.t2Timer - 2900);
} while ((rmResponse == AT_NOTHING || rmResponse == AT_FCERROR) && ++attempts < conf.class1RMPersistence);
if (rmResponse == AT_CONNECT) {
/*
lastResponse = AT_NOTHING;
do {
(void) atCmd(rmCmd, AT_NOTHING);
- lastResponse = atResponse(rbuf, conf.class1RMPersistence ? conf.t2Timer : conf.t2Timer - conf.t4Timer);
+ lastResponse = atResponse(rbuf, conf.class1RMPersistence ? conf.t2Timer : conf.t2Timer - 2900);
} while ((lastResponse == AT_NOTHING || lastResponse == AT_FCERROR) && ++attempts < conf.class1RMPersistence);
if (lastResponse == AT_ERROR) gotEOT = true; // on hook
if (lastResponse == AT_FRH3 && waitFor(AT_CONNECT,0)) {