Csr location class shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependents: CsrLocationDemo CsrLocationDemo
Fork of CsrLocation by
Revision 19:27aa296d2ea1, committed 2014-11-19
- Comitter:
- zhjcpi
- Date:
- Wed Nov 19 01:34:48 2014 +0000
- Parent:
- 18:5d72465991f5
- Commit message:
- add comments for utcTime field.
Changed in this revision
| CsrLocation.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/CsrLocation.h Tue Nov 18 09:03:17 2014 +0000
+++ b/CsrLocation.h Wed Nov 19 01:34:48 2014 +0000
@@ -189,14 +189,14 @@
typedef struct GpsTime {
/** Week part of GPS time */
uint16_t gps_week;
- /** Time of second part of GPS time */
+ /** Time of second part of GPS time in millisecond */
uint32_t tow;
} tGpsTime;
/** Structure to hold Position Response Message Information. */
typedef struct LocPosResp {
- tGpsTime gpsTime;
- uint64_t utcTime;
+ tGpsTime gpsTime; /** gps time */
+ uint64_t utcTime; /** UTC time in millisecond */
/** Latitude */
double lat;
/** Longitude */

GPS mbed Shield