[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Building the master branch and the split24 option
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-users] Building the master branch and the split24 option |
Date: |
Mon, 21 Oct 2013 07:20:58 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Roy Barkas <address@hidden>:
> The 'split24' patch was (I hope) intended to allow type 24 part 1 and part
> 2 messages to be independently decoded.
>
> When I run gpsd and connect via telnet using:
> ?WATCH={"enable":true,"json":true, "scaled":true, "split24":true}
>
> I don't see any split type 24 messages being decoded.
> Same thing for gpsdecode. If I feed the following type 24 into gpsdecode
> -s nothing comes out
>
> !AIVDM,1,1,,A,H7PG`U4TCD36HJ=F:Dmljq184400,0*0D
>
> Have I misunderstood how to enable this option for the daemon or for
> gpsdecode?
Maybe. Here's what I see:
address@hidden:~/software/gpsd$ cat TYPE24
!AIVDM,1,1,,A,H42O55i18tMET00000000000000,2*6D
# MessageID: 24
# RepeatIndicator: 0
# UserID: 271041815
# partnum: 0
# name: PROGUY
!AIVDM,1,1,,A,H42O55lti4hhhilD3nink000?050,0*40
# MessageID: 24
# RepeatIndicator: 0
# UserID: 271041815
# partnum: 0
# shipandcargo: 60|
# vendorid: 1D00014
# callsign: TC6163
# dimA: 0
# dimB: 15
# dimC: 0
# dimD: 5
address@hidden:~/software/gpsd$ gpsdecode -s <TYPE24
{"class":"AIS","device":"stdin","type":24,"repeat":0,"mmsi":271041815,"scaled":true,"part":"A","shipname":"PROGUY"}
{"class":"AIS","device":"stdin","type":24,"repeat":0,"mmsi":271041815,"scaled":true,"part":"B","shiptype":60,"shiptype_text":"Passenger
- all ships of this
type","vendorid":"1D00014","model":12,"serial":199796,"callsign":"TC6163","to_bow":0,"to_stern":15,"to_port":0,"to_starboard":5}
Tell me if that reproduces for you.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>