Skip to content

Commit 67fc39d

Browse files
committed
chore: Update error path for Notecard v7.4.1
1 parent df914ee commit 67fc39d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/Arduino_NotecardConnectionHandler.cpp

+2-9
Original file line numberDiff line numberDiff line change
@@ -661,15 +661,8 @@ bool NotecardConnectionHandler::armInterrupt (void) const
661661
// Check the response for errors
662662
if (NoteResponseError(rsp)) {
663663
const char *err = JGetString(rsp, "err");
664-
// This error must be ignored. As of LTSv6, `rearm` is not idempotent.
665-
// For now, we are counting on the fact that it is highly unlikely any
666-
// severe errors would occur in isolation. Once the Notecard firmware
667-
// is updated to support idempotent `rearm` requests, this error will
668-
// be handled as a failure.
669-
Debug.print(DBG_VERBOSE, F("%s"), err);
670-
result = true; // Ignore the error
671-
// Debug.print(DBG_ERROR, F("%s\n"), err);
672-
// result = false;
664+
Debug.print(DBG_ERROR, F("%s\n"), err);
665+
result = false;
673666
} else {
674667
result = true;
675668
}

0 commit comments

Comments
 (0)