#ifndef __GPS_H__ #define __GPS_H__ /* * GPSをコントロールするルーチン * * @author fenrir (M.Naruoka) * @since 04/06/04 * @version 1.0 */ #define GPS_E0SIZE 23 //位置・速度・高度・測位使用衛星数・測位ステータス(byte) #define GPS_E1SIZE 10 //時刻(byte) #define GPS_E3SIZE 15 //時刻(byte) #define GPS_DATA_KIND 12 //データの種類は12種類 #define GPS_MAX_LENGTH (GPS_E0SIZE + GPS_E1SIZE + GPS_E3SIZE) //最大 #ifdef __cplusplus extern "C" { #endif void gps_init(); long *gps2value(char *gps_data, long *result); #ifdef __cplusplus }; #endif #endif