Browse Source

added auto start for GPS documentation

clementinecomputing 6 years ago
parent
commit
0505cdcb48
1 changed files with 3 additions and 0 deletions
  1. 3 0
      experiment/production/GPRS-GPS-notes.md

+ 3 - 0
experiment/production/GPRS-GPS-notes.md

@@ -129,6 +129,9 @@ is used for the GPRS modem.
 * Turn on the GPS functionality by issuing `AT+CGPS=1`
 * To poll every 3 seconds with full NMEA message output, issue `AT+CGPSINFOCFG=3,31`
   - Look for the `$GPRMC,...` line as that has the easiest to read lat/lon positions
+* To automatically turn on the GPS, use the command `AT+CGPSAUTO=1`.
+  - I still don't know how to get polling to automatically work/persist so the `AT+CGPSINFOCFG=3,31` still needs to be issued
+    to get GPS data
 
 See [NMEA sentence information](http://aprs.gids.nl/nmea/) and the [AT command set](https://cdn-shop.adafruit.com/datasheets/SIMCOM_SIM5320_ATC_EN_V2.02.pdf).