I am trying to read NMEA messages via GPSD (), but I do not know how to do that.
I have a GPS antenna which connects to the u-blox M8 GNSS Evaluation Kit Timin () and this Kit is connected to Ubuntu laptop.
In the Terminal window, when I type lsusb, it shows me the device successfully connect (for example: Bus 001 Device 036: ID 1546:01a8 U-Blox AG)
As I know when the GPS receive a signal, it should be putting NMEA messages out in each port, and should be mounted by TTYACM0.
The Laptop also installed NTP (Network Time Protocol)
My questions are:
- What does the GPSD do with that?
- What can the GPSD log these messages?
- How to configure GPSD to set NMEA messages from the u-blox USB port?
2 Answers
Read man gpsd. It says, in part:
Client applications will communicate with gpsd via a TCP/IP port, 2947
by default). Both IPv4 and IPv6 connections are supported and a client
may connect via either. 2 I appreciate this comes a bit late but providing information for completeness and reference.
gpsd uses its own communication protocol and doesn't provide NMEA output by default (though it is easy by passing a couple commands). If you have tools that can require NMEA but do not under gpsd, you need a translator. See below link for one: