This is Arduino code to support a Adafruit FONA module and a GPS.
Any serial serial GPS that the Adafruit GPS library can deal with will work. Obviously the Adafruit Ultimate GPS works pretty well.
The upshot here is the Arduino gets the GPS location every GPS_INTERVAL_SECONDS
seconds and then uses the FONA to update a web data store over a GPRS connection. In this case the web data store is data.sparkfun.com.
For added amusement, the FONA module will also listen for SMS "commands". Current commands are:
Visualizing the saved data is done by opening the web/index.html
page in a web browser. It's hardcoded to data.sparkfun.com so YMMV.
The two files, keys.h.sample
and keys.js.sample
need to be copied to versions with the .sample
suffix removed. Then the various key data, like your public and private keys for data.sparkfun.com, need to be added there.