[Top][All Lists]

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

Re: ✘ntrip:// and tcp://

From: Gary E. Miller
Subject: Re: ✘ntrip:// and tcp://
Date: Fri, 15 Oct 2021 13:14:17 -0700

Yo Nick!

On Fri, 15 Oct 2021 10:17:19 +0100
Nick Taylor <> wrote:

> > There have been similar requests for tcp:// (NMEA) reconnect code,
> > which should be eaasier than ntrip://.  
> Guilty ;)
> > Anyone have a simple NMEA caster that gpsd can connect to with
> > gcp:// ?  
> Never heard of gcp:// slight typo I assume...

Yeah.  gcp:// hould be tcp://

> We use kplex for testing.
>   In order to simulate real world as near as possible we run kplex on 
> one server - mine looks like this:
> kplex serial:direction=in,filename=/dev/gps_data,baud=9600 
> tcp:direction=out,mode=server,persist=no

Interesting.  But kplex is not in the Gentoo repository, and I
want to read from gpsd.  socat dies it fine:

$ socat EXEC:'gpspipe -r' TCP-LISTEN:2948,reuseaddr,fork

> Then we can simulate different types of disconnects either by
> unplugging cable or using iptables to block comms out of the server
> running kplex

iptables is pretty obsolete, netfilter is the way.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpx0I45Uxftg.pgp
Description: OpenPGP digital signature

reply via email to

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