gpsd-dev
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[gpsd-dev] AIS Decode type 21 JSON is broken
From
:
Roy Barkas
Subject
:
[gpsd-dev] AIS Decode type 21 JSON is broken
Date
:
Wed, 27 Aug 2014 20:49:05 +1000
AIS Type 21 messages returned from gpsdecode (and presumably from gpsd) are broken.
The output JSON will not parse.
The field "epfd" is missing a colon in the output.
Samples below:
{"class":"AIS","device":"stdin","type":21,"repeat":0,"mmsi":993692030,"scaled":true,"aid_type":18,"aid_type_text":"INVALID NAVAID TYPE","name":"HONO HRB ENT LB H","lon":-157.8800,"lat":21.2808,"accuracy":false,"to_bow":0,"to_stern":0,"to_port":0,"to_starboard":0,
"epfd"7
,"epfd_text":"Surveyed","second":61,"regional":0,"off_position":false,"raim":false,"virtual_aid":false}
{"class":"AIS","device":"stdin","type":21,"repeat":1,"mmsi":117010020,"scaled":true,"aid_type":30,"aid_type_text":"INVALID NAVAID TYPE","name":"ZARATE BRIDGE","lon":181.0000,"lat":91.0000,"accuracy":true,"to_bow":10,"to_stern":10,"to_port":10,"to_starboard":10,
"epfd"7
,"epfd_text":"Surveyed","second":60,"regional":0,"off_position":false,"raim":false,"virtual_aid":false}
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[gpsd-dev] AIS Decode type 21 JSON is broken
,
Roy Barkas
<=
Re: [gpsd-dev] AIS Decode type 21 JSON is broken
,
Iván Sánchez Ortega
,
2014/08/27
Prev by Date:
Re: [gpsd-dev] [PATCH] Time Service HOWTO: Clarify state of RFC2783 on NetBSD.
Next by Date:
Re: [gpsd-dev] AIS Decode type 21 JSON is broken
Previous by thread:
[gpsd-dev] verbose logging, gpsmon vs Garmin
Next by thread:
Re: [gpsd-dev] AIS Decode type 21 JSON is broken
Index(es):
Date
Thread