Adafruit Ultimate GPS Arduino library adapted for mBed use. Original found at https://github.com/adafruit/Adafruit-GPS-Library.

Files at this revision

API Documentation at this revision

Comitter:
fconboy
Date:
Thu Sep 12 15:42:39 2019 +0000
Parent:
0:a23e3099bb0a
Commit message:
Untested

Changed in this revision

MBed_Adafruit_GPS.cpp Show annotated file Show diff for this revision Revisions of this file
MBed_Adafruit_GPS.h Show annotated file Show diff for this revision Revisions of this file
--- a/MBed_Adafruit_GPS.cpp	Sat Mar 22 05:00:47 2014 +0000
+++ b/MBed_Adafruit_GPS.cpp	Thu Sep 12 15:42:39 2019 +0000
@@ -347,4 +347,10 @@
   else {
       return false;  // Returns false if not in standby mode, nothing to wakeup
   }
+}
+
+bool Adafruit_GPS::hasFix(void)
+{
+    return fix;    
+
 }
\ No newline at end of file
--- a/MBed_Adafruit_GPS.h	Sat Mar 22 05:00:47 2014 +0000
+++ b/MBed_Adafruit_GPS.h	Thu Sep 12 15:42:39 2019 +0000
@@ -91,6 +91,7 @@
 
   bool wakeup(void);
   bool standby(void);
+  bool hasFix(void);
 
   uint8_t hour, minute, seconds, year, month, day;
   uint16_t milliseconds;