gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting NMEA data out from gpsd for use in u-center


From: David Taylor
Subject: Getting NMEA data out from gpsd for use in u-center
Date: Sat, 2 Oct 2021 07:52:30 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

The aim is to get u-blox u-centre watching the NMEA output from a gps device. The gps is connected to a Raspberry Pi and running the latest gpsd correctly. I've searched for answers but they elude me. Using Telnet on the Pi itself produces a JSON header line

Questions:

1. My understanding is that gpsd can output data on TCP/2947, however when trying to connect to a the RPi from the PC I get:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\David>telnet raspi-25
(standard login/password prompt, can connect OK)

C:\Users\David>telnet raspi-25 2947
Connecting To raspi-25...Could not open connection to the host, on port 2947: Connect failed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

but connecting from the RPi itself gives a JSON text line


2. There is mention of JSON coming from port 2947. Is there a way of getting NMEA rather than JSON, or some program/function to send continuous NMEA on another port?

3. I see that once the JSON line arrives, nothing else does. Ideally I would just like a copy of the NMEA stream the GPS is sending to gpsd.

Thanks,
David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: david-taylor@blueyonder.co.uk
Twitter: @gm8arv


reply via email to

[Prev in Thread] Current Thread [Next in Thread]