Browse Source

Fix #508, GPS on 7600

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
dependabot/github_actions/actions/checkout-4
Sara Damiano 3 years ago
parent
commit
a9f723130c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientSIM7600.h

+ 1
- 1
src/TinyGsmClientSIM7600.h View File

@ -435,7 +435,7 @@ class TinyGsmSim7600 : public TinyGsmModem<TinyGsmSim7600>,
// get the RAW GPS output // get the RAW GPS output
String getGPSrawImpl() { String getGPSrawImpl() {
sendAT(GF("+CGNSSINFO=32"));
sendAT(GF("+CGNSSINFO"));
if (waitResponse(GF(GSM_NL "+CGNSSINFO:")) != 1) { return ""; } if (waitResponse(GF(GSM_NL "+CGNSSINFO:")) != 1) { return ""; }
String res = stream.readStringUntil('\n'); String res = stream.readStringUntil('\n');
waitResponse(); waitResponse();


Loading…
Cancel
Save