whatever
Dependencies: C027 C027_Support M2XStreamClient PowerControl jsonlite mbed-rtos mbed
Fork of PONY_Ph0-uAXIS by
PONY_Loc.h
- Committer:
- sgmcb
- Date:
- 2016-01-20
- Revision:
- 54:6ce53a145fa0
- Parent:
- 41:f603d76dc6fe
File content as of revision 54:6ce53a145fa0:
// PONY_Loc.h // Location code for PONY // (C) 2015 Igor Institute # include "GPS.h" struct GPSbundle { GPSI2C bGPS; // Pointer to our GPS item int bRet; int bLen; char* bBuf; int bBufLen; }; struct GPSloc { double tmstmp; double lat; double lon; double alt; double vel; }; struct moveData { int16_t x; int16_t y; int16_t z; }; int readyGPS(GPSbundle*, int); int getNMEAtalker (const char*); int fetchLocBundle(GPSbundle*, GPSloc*, int); int fillLocBundle(GPSbundle*, GPSloc*); int fetchLaLo(GPSbundle*, GPSloc*, int); int verifyGLL(GPSbundle*, GPSloc*); int fetchAlt(GPSbundle*, GPSloc*, int); void parseM2XLocation(const char*, double, double, const char*, int, void*); void getFormattedTime(time_t*, tm*); //int verify