Mbed library to handle GPS data reception and parsing
Dependents: GPS_U-blox_NEO-6M_Code
Features
- All positionning parameters are contained into a global data structure.
- Automatic nema string parsing and data structure update.
- GSA,GGA,VTG and RMC
- Convert latitude and longitude to decimal value.
- Converts latittude,longitude and altitude to ECEF coordinates.
Planed developement
- Test library for RTOS use.
- Complete the nema parsing decoders (couple of parameters are not parsed yet and not present in the data structure).
- Add conversion tool to get ENU coordinates.
Diff: defines/mbedGPSDefs.h
- Revision:
- 2:72ac4d7044a7
- Parent:
- 0:0c1aa5906cef
- Child:
- 3:20f8faf2ad18
diff -r fade122a76a8 -r 72ac4d7044a7 defines/mbedGPSDefs.h --- a/defines/mbedGPSDefs.h Mon Apr 06 17:41:43 2015 +0000 +++ b/defines/mbedGPSDefs.h Sun Feb 14 05:55:38 2016 +0000 @@ -10,15 +10,20 @@ //======================================================================= // GPS COMMANDS #define GPS_CMD_GPGGA "$GPGGA" +#define GPS_GPGGAR 1 #define GPS_CMD_GPGSA "$GPGSA" +#define GPS_GPGSAR 2 #define GPS_CMD_GPGSV "$GPGSV" +#define GPS_GPGSVR 3 #define GPS_CMD_GPRMC "$GPRMC" +#define GPS_GPRMCR 4 #define GPS_CMD_GPVTG "$GPVTG" - +#define GPS_GPVTGR 5 //======================================================================= // GPS MESSAGE STRUCTURE typedef struct { char data[RX_BUFFER_SIZE]; + char MessageIsNew; }message; //=======================================================================