gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] [gpsd-dev] Patch for proper separation of AIS type 6 me


From: Sven Geggus
Subject: Re: [gpsd-users] [gpsd-dev] Patch for proper separation of AIS type 6 messages
Date: Fri, 10 Aug 2018 09:55:31 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Gary E. Miller schrieb am Friday, den 10. August um 00:28 Uhr:

> Just do this while your GPS/AIS is running:
> 
> # gpspipe -R -n 120 -o tmp.log
> 
> That puts 120 sentences of the raw data into the file tmp.log.  Then
> just email tmp.log to this list as an accatachment.

Unfortunately this won't work this way. The buggy json occurs just a couple
of times every few hours or so.

This might work:

gpspipe -w -R -S -2 172.21.0.1 |grep -30 -e '"type":6,.*"fid":55' |grep -v -e 
'^{' |tee msg.txt

But I have to wait for a few hours now...

Sven


-- 
How to prevent Java from forking? Use a spoon.
(Found on http://slashdot.org)

/me is address@hidden, http://sven.gegg.us/ on the Web

Attachment: signature.asc
Description: Digital signature


reply via email to

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