Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #10489

Re: GPS program module for raspberry.pi

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.sys.raspberry-pi
Subject Re: GPS program module for raspberry.pi
Date 2016-01-31 19:49 +0000
Organization A noiseless patient Spider
Message-ID <n8logq$gma$1@dont-email.me> (permalink)
References <bf76a612-edf2-4ffa-afef-b8c2cc4812ae@googlegroups.com> <n8fkej$rle$2@dont-email.me> <slrnnaqbod.cqc.nomail@xs9.xs4all.nl> <n8jeu0$vo4$1@dont-email.me> <slrnnarou2.3pj.nomail@xs9.xs4all.nl>

Show all headers | View raw


On Sun, 31 Jan 2016 10:36:50 +0000, Rob wrote:

> Martin Gregorie <martin@address-in-sig.invalid> wrote:
>>> gpsd also translates the output of different types of GPS receiver to
>>> a single common format, so the application program does not need to do
>>> that itself.
>>>
>> Yeah, all that became obvious as soon as I looked at the gps website.
>> In the past I've seen what NMEA-speaking units (Garmin GPS-35) output
>> by pointing cat at the serial port it was attached to. It looks as
>> though, that by using gpsd the same could be achieved with a generic
>> chain like:
>>
>>   GPS-->gpsd-->netcat
> 
> The problem with serial devices is that only a single program can read
> them at any time.  So when you have two programs that need the
> information,
>
Did it occur to you that I was describing a TEST SYSTEM to see exactly 
what data items the GPS was outputting and in what order?

With the documentation standard of some GPS receivers you'd need to do 
that so you'd know what sequence of data items it produces before 
designing and coding the consuming program.  IIRC the GPS-35, which 
defaults to NMEA output, had a manual which lists the NMEA sentences it 
outputs but said nothing about their output ordering, so running it up 
with cat as the data consumer was a worthwhile test. I'd do the same with 
any new type of GPS receiver that I'd expect to be feeding one or more 
data consumers via gpsd, but in this case netcat is the most suitable 
program for displaying the output.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

GPS program module for raspberry.pi freeunixbsd@gmail.com - 2016-01-28 23:37 -0800
  Re: GPS program module for raspberry.pi Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-29 12:03 +0000
    Re: GPS program module for raspberry.pi Roger Bell_West <roger+csrp201601@nospam.firedrake.org> - 2016-01-30 21:11 +0000
      Re: GPS program module for raspberry.pi Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-30 23:03 +0000
    Re: GPS program module for raspberry.pi Rob <nomail@example.com> - 2016-01-30 21:45 +0000
      Re: GPS program module for raspberry.pi Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-30 22:53 +0000
        Re: GPS program module for raspberry.pi Rob <nomail@example.com> - 2016-01-31 10:36 +0000
          Re: GPS program module for raspberry.pi Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-31 19:49 +0000
  Re: GPS program module for raspberry.pi David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-01 10:07 +0000

csiph-web