Still need to read out values, even if not keeping

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-02-13 13:50:08 -05:00
parent 46d606260f
commit 71f26658d4
10 changed files with 191 additions and 117 deletions

View File

@@ -95,8 +95,11 @@ class TinyGsmGSMLocation {
}
*lat = thisModem().streamGetFloat(','); // Latitude
*lon = thisModem().streamGetFloat(','); // Longitude
if (accuracy != NULL)
*accuracy = thisModem().streamGetInt(','); // Positioning accuracy
if (accuracy != NULL) { // Positioning accuracy
*accuracy = thisModem().streamGetInt(',');
} else {
thisModem().streamSkipUntil(',');
}
// Date & Time
char dtSBuff[5] = {'\0'};