Navit SVN

/work/compile/navit/src/navit/vehicle/webos/vehicle_webos.h

00001 #include "coord.h"
00002 
00003 #define GPS_TYPE_NONE 0
00004 #define GPS_TYPE_INT  1
00005 #define GPS_TYPE_BT   2
00006 
00007 struct vehicle_priv {
00008         char *address;
00009         char *source;
00010         char *spp_address;
00011         char *buffer;
00012         char *nmea_data_buf;
00013         char *nmea_data;
00014         char fixiso8601[128];
00015         double track, speed, altitude, radius;
00016         double hdop;
00017         int gps_type;
00018         int pdk_version;
00019         int spp_instance_id;
00020         int buffer_pos;
00021         int delta;
00022         int sats_used;
00023         int sats_visible;
00024         int magnetic_direction;
00025         int status;
00026         int valid;
00027         time_t fix_time;
00028         struct attr ** attrs;
00029         struct callback *event_cb;
00030         struct callback *timeout_cb;
00031         struct callback_list *cbl;
00032         struct coord_geo geo;
00033         struct event_timeout *ev_timeout;
00034 };
00035 
00036 extern void vehicle_webos_close(struct vehicle_priv *priv);
00037