gpsd-dev
[Top][All Lists]
Advanced

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

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


From: Nick Taylor
Subject: Re: ✘ntrip:// and tcp://
Date: Sat, 16 Oct 2021 11:46:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi Gary

On 15/10/2021 21:14, Gary E. Miller wrote:
Yo Nick!

On Fri, 15 Oct 2021 10:17:19 +0100
Nick Taylor <nicktaylor@dataskill.uk> wrote:

We use kplex for testing.

http://www.stripydog.com/kplex/

   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
Works great for me too - one of our guys found kplex but it's probably over complex for this simple application. Cheers for that guys!
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.
Good point - again one of our guys gave me an iptables command - more learning :D

All the best

Nick



reply via email to

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