Csr location class shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependents: CsrLocationDemo CsrLocationDemo
Fork of CsrLocation by
Diff: CsrLocation.h
- Revision:
- 18:5d72465991f5
- Parent:
- 17:05033198f8f3
- Child:
- 19:27aa296d2ea1
diff -r 05033198f8f3 -r 5d72465991f5 CsrLocation.h
--- a/CsrLocation.h Tue Nov 18 02:43:19 2014 +0000
+++ b/CsrLocation.h Tue Nov 18 09:03:17 2014 +0000
@@ -14,7 +14,7 @@
#define CSR_RESULT_FAILURE ((CsrResult) 0xFFFF)
/* Time related definitions */
-#define CSR_ULOC_UTC_GPS_OFFSET_MS ((315964800000LL))
+#define CSR_ULOC_UTC_GPS_OFFSET_MS ((uint64_t)(315964800000LL))
#define CSR_ULOC_SEC_IN_WEEK_MS (604800000)
#define CSR_ULOC_UTC_LEAP_OFFSET_MS (15000)
@@ -196,7 +196,7 @@
/** Structure to hold Position Response Message Information. */
typedef struct LocPosResp {
tGpsTime gpsTime;
- float utcTime;
+ uint64_t utcTime;
/** Latitude */
double lat;
/** Longitude */

GPS mbed Shield