|
From: | Roy Barkas |
Subject: | Re: [gpsd-users] Building the master branch and the split24 option |
Date: | Tue, 22 Oct 2013 01:23:59 +1100 |
This may mean that when I was testing the split24 with gpsdecode I was actually running the 3.9 version rather than the newly built master version.Install file: "gpsdecode" as "/usr/local/bin/gpsdecode"chrpath -r "/usr/local/lib" "/usr/local/bin/gpsdecode"`/usr/local/bin/gpsdecode' probably isn't an ELF file.elf_open: Exec format errorscons: *** [/usr/local/bin/gpsdecode] Error 1scons: building terminated because of errors.
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="" href="http://www.catb.org/~esr/" target="_blank">http://www.catb.org/~esr/">Eric S. Raymond</a>
[Prev in Thread] | Current Thread | [Next in Thread] |