new Xadow GPS module

Dependents:   xadow_smartstrap_for_pebble Avnet_ATT_Cellular_IOT Xadow-M0_Xadow-OLED_Accelerometer

Revision:
1:97f0865ea131
Parent:
0:0cbe7e15999a
Child:
2:cf4d22190de4
--- a/XadowGPS.h	Wed Nov 04 09:50:28 2015 +0000
+++ b/XadowGPS.h	Wed Nov 04 10:01:05 2015 +0000
@@ -92,7 +92,7 @@
  * End
  */
 
-#define GPS_DEVICE_ADDR         0x05
+#define GPS_DEVICE_ADDR         (0x05<<1)
 
 #define GPS_SCAN_ID             0 // 4 bytes
 #define GPS_SCAN_SIZE           4 // 0,0,0,Device address
@@ -162,17 +162,17 @@
 unsigned char gps_get_status(void);
 
 /**
- *  \brief Get the altitude.
+ *  \brief Get the latitude.
  *
- *  \return Return altitude data. The format is dd.dddddd.
+ *  \return Return latitude data. The format is dd.dddddd.
  *
  */
 float gps_get_latitude(void);
 
 /**
- *  \brief Get the altitude direction.
+ *  \brief Get the latitude direction.
  *
- *  \return Return altitude direction data. The format is N/S. N is north, S is south.
+ *  \return Return latitude direction data. The format is N/S. N is north, S is south.
  *
  */
 unsigned char gps_get_ns(void);
@@ -212,7 +212,8 @@
 /**
  *  \brief Get the status of position fix.
  *
- *  \return Return course data. The format is 0,1,2,6.
+ *  \return Return the status of position fix. The format is 0,1,2,6.
+ *          0 - Invalid, 1 - GPS fix, 2 - DGPS fix, 6 - evaluation
  *
  */
 unsigned char gps_get_position_fix(void);
@@ -239,7 +240,7 @@
  *  \return Return mode of location. The format is A/M. A:automatic, M:manual.
  *
  */
-unsigned char gps_get_mode(void);
+char gps_get_mode(void);
 
 /**
  *  \brief Get the current status of GPS.