Ahmed_PFE_Embarq_300415

Dependencies:   C12832 LM75B mbed

Fork of Ahmed_Embarq_Prog by ahmed ahmed

_GPS/Dec_GPS.h

Committer:
pfe
Date:
2015-04-30
Revision:
1:197b9fed6092

File content as of revision 1:197b9fed6092:

#ifndef Dec_GPS_H

#define Dec_GPS_H

typedef struct {
          unsigned char GGA_Valid;
          unsigned char Qual;
          unsigned char hh;
          unsigned char mm;
          unsigned char ss;  
          signed long   LatDeg;        
          signed long   LonDeg;
          signed long   HMSL;  

}StructGPS;

unsigned char Get_Length(unsigned short index); 
void Set_Data(unsigned char index);
void Validation_StrToFloat(unsigned char LongData);
void DecodageGPGGA(unsigned char *_MsgGPSRx,unsigned char Ldata,StructGPS *GpsData);

#endif

//------------------------------------------------------------------------------

//------------------------------------------------------------------------------