34 #define GPS_FURUNO_SETTINGS_NB 18
36 "PERDAPI,FIRSTFIXFILTER,STRONG",
37 "PERDAPI,FIXPERSEC,5",
38 "PERDAPI,FIXMASK,SENSITIVITY",
43 "PERDAPI,GNSS,AUTO,2,2,0,-1,-1",
44 "PERDSYS,ANTSEL,FORCE1L",
45 "PERDAPI,CROUT,ALLOFF",
47 "PERDCFG,NMEAOUT,GGA,1",
48 "PERDCFG,NMEAOUT,RMC,1",
49 "PERDCFG,NMEAOUT,GSA,1",
50 "PERDCFG,NMEAOUT,GNS,0",
51 "PERDCFG,NMEAOUT,ZDA,0",
52 "PERDCFG,NMEAOUT,GSV,1",
53 "PERDCFG,NMEAOUT,GST,0"
60 #define GpsLinkDevice (&(NMEA_GPS_LINK).device)
78 for (j = 0; j < len + 6; j++) {
Device independent GPS code (interface)
struct EcefCoor_i ecef_pos
position in ECEF in cm
struct EcefCoor_i ecef_vel
speed ECEF in cm/s
struct NedCoor_i ned_vel
speed NED in cm/s
static uint8_t furuno_cfg_cnt
#define GPS_FURUNO_SETTINGS_NB
static bool nmea_parse_perdcrv(void)
bool nmea_parse_prop_msg(void)
void nmea_parse_prop_init(void)
static const char * gps_furuno_settings[GPS_FURUNO_SETTINGS_NB]
void nmea_configure(void)
Configure furuno GPS.
uint8_t nmea_calc_crc(const char *buff, int buff_sz)
Calculate control sum of binary buffer.
NMEA protocol specific code.
static void nmea_read_until(int *i)
Read until a certain character, placed here for proprietary includes.
bool is_configured
flag set to TRUE if configuration is finished
char msg_buf[NMEA_MAXLEN]
buffer for storing one nmea-line
void ltp_def_from_ecef_i(struct LtpDef_i *def, struct EcefCoor_i *ecef)
void ecef_of_ned_vect_i(struct EcefCoor_i *ecef, struct LtpDef_i *def, struct NedCoor_i *ned)
Rotate a vector from NED to ECEF.
definition of the local (flat earth) coordinate system
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.