/******************************************************************************** * File Name: MyGPS.h * Function Describe: Header file for MyGPS.c * Explain: * Writer: * Date: *******************************************************************************/ #ifndef __MY_GPS_H #define __MY_GPS_H //------------------------------------------------------------------------------- typedef struct { double longitude; //经度,单位:° char lo_direction; //经度方向:E/W double latitude; //纬度,单位:° char la_direction; //纬度方向:N/S int Speed;//速度 int Hight;//海拔 }SutMyGps; extern SutMyGps MyGPS; int convertMyGPS(char *buffer,int buflen,SutMyGps *output); //------------------------------------------------------------------------------- #endif //-------------------------------------------------------------------------------