Skip to content

Commit 432bde3

Browse files
authored
Merge pull request #761 from jonas37/758-fix-error-parsing-gps-time-bg96
Fix parsing AT-command for getting GPS time in BG96
2 parents 92c0ba3 + cef1962 commit 432bde3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TinyGsmClientBG96.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>,
354354
int* year = 0, int* month = 0, int* day = 0, int* hour = 0,
355355
int* minute = 0, int* second = 0) {
356356
sendAT(GF("+QGPSLOC=2"));
357-
if (waitResponse(10000L, GF(GSM_NL "+QGPSLOC:")) != 1) {
357+
if (waitResponse(10000L, GF(GSM_NL "+QGPSLOC: ")) != 1) {
358358
// NOTE: Will return an error if the position isn't fixed
359359
return false;
360360
}

0 commit comments

Comments
 (0)