diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-08-17 22:11:16 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-08-17 22:11:16 +0000 |
commit | aa006f20d82767f203f64a22b5c6921a431f3c8b (patch) | |
tree | f269befe860360f8997c55aeceddd090b7946627 /sirf.c | |
parent | 4adfaf49d0c2ce3ad34c5a2f944aa7ca02fd2277 (diff) | |
download | gpsd-aa006f20d82767f203f64a22b5c6921a431f3c8b.tar.gz |
SiRF name cleanup.
1) the product line is called SiRFstar
2) I don't have any original SiRFstar receivers but my documentation
says the protocol remained mostly the same between SS1, SS2 and SS3;
it just got richer as time went by. At least with my SS2 and SS3
receivers, this holds true.
3) elsewhere in the code there are SIRF_THIS and SIRF_THAT, which
implies (correctly) independence of chipset version.
Diffstat (limited to 'sirf.c')
-rw-r--r-- | sirf.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* - * This is the gpsd driver for SiRF-II GPSes operating in binary mode. + * This is the gpsd driver for SiRF GPSes operating in binary mode. * It also handles uBlox, a SiRF derivative. * * The advantage: Reports climb/sink rate (raw-mode clients won't see this). @@ -36,7 +36,7 @@ #include "gpsd.h" #include "bits.h" -#if defined(SIRFII_ENABLE) && defined(BINARY_ENABLE) +#if defined(SIRF_ENABLE) && defined(BINARY_ENABLE) #define HI(n) ((n) >> 8) #define LO(n) ((n) & 0xff) @@ -114,7 +114,7 @@ static bool sirf_to_nmea(int ttyfd, speed_t speed) static void sirfbin_mode(struct gps_device_t *session, int mode) { if (mode == 0) { - (void)gpsd_switch_driver(session, "SiRF-II NMEA"); + (void)gpsd_switch_driver(session, "SiRF NMEA"); (void)sirf_to_nmea(session->gpsdata.gps_fd,session->gpsdata.baudrate); session->gpsdata.driver_mode = 0; } @@ -716,7 +716,7 @@ static bool sirfbin_speed(struct gps_device_t *session, speed_t speed) /* this is everything we export */ struct gps_type_t sirf_binary = { - .typename = "SiRF-II binary", /* full name of type */ + .typename = "SiRF binary", /* full name of type */ .trigger = "$Ack Input105.", /* expected response to SiRF PSRF105 */ .channels = SIRF_CHANNELS, /* consumer-grade GPS */ .probe = NULL, /* no probe */ @@ -731,4 +731,4 @@ struct gps_type_t sirf_binary = .wrapup = NULL, /* no close hook */ .cycle = 1, /* updates every second */ }; -#endif /* defined(SIRFII_ENABLE) && defined(BINARY_ENABLE) */ +#endif /* defined(SIRF_ENABLE) && defined(BINARY_ENABLE) */ |