Small fix to BG96, remove debug
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -202,8 +202,8 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>,
|
||||
bool restartImpl() {
|
||||
if (!testAT()) { return false; }
|
||||
sendAT(GF("+CFUN=1,1"));
|
||||
if (waitResponse(60000L, GF("POWERED DOWN")) != 1) { return false; }
|
||||
waitResponse(5000L, GF("RDY"));
|
||||
if (waitResponse(10000L, GF("OK")) != 1) { return false; }
|
||||
waitResponse(10000L, GF("APP RDY"));
|
||||
return init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user