Skip to content

Commit

Permalink
[A7608SA-H]Update enableNMEA params check
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed May 7, 2024
1 parent bb1d154 commit b9ff1a6
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src/TinyGsmClientA7608.h
Original file line number Diff line number Diff line change
Expand Up @@ -662,9 +662,27 @@ class TinyGsmA7608 : public TinyGsmModem<TinyGsmA7608>,
if(!disableGPSImpl(-1,0)){
return false;
}
if(!enableGPSImpl(-1,0)){
return false;
}
// if(!enableGPSImpl(-1,0)){
// return false;
// }
/*
20240507
A7600M7_B11V05_231108 version will not return <+CGNSSPWR: READY!>
but will be returned in earlier versions. Redirect the NMEA sentence to the AT port and only check whether it returns OK.
Manufacturer: INCORPORATED
Model: A7608SA-H
Revision: A50C4B11A7600M7
A7600M7_B11V05_231108
QCN:
IMEI: XXXXXXXXXXXXXXXXXXX
MEID:
+GCAP: +CGSM,+FCLASS,+DS
DeviceInfo:
*
* * */
sendAT(GF("+CGNSSPWR=1"));
if (waitResponse(10000UL) != 1) { return false; }
return true;
}

Expand Down

0 comments on commit b9ff1a6

Please sign in to comment.