fulup-bzh / GeoGate

GeoGate is an opensource tracking GPS/AIS framework to implement GTS applications.
Apache License 2.0
75 stars 39 forks source link

Added BSVDM and ABVDM as possible message prefixes #36

Closed ArnaudSwail closed 5 years ago

ArnaudSwail commented 5 years ago

Stations can send AIS messages using other prefixes than AIVDM and AIVDO. Identified possible prefixes from base stations are BSVDM and ABVDM.

afischerdev commented 5 years ago

What do you think of splitting the prefix in two parts and react only on VDO or VDM?

fulup-bzh commented 5 years ago

No real opinion, could you elaborate a little bit on what you mean by this ?

afischerdev commented 5 years ago

I mean, all nmea sentences start with $ or !, have a device id and a data id. And it should be enough to use the data id to identify the current sentence.

But merge is done so no need to do more.

ArnaudSwail commented 5 years ago

afischerdev's remark sounds more efficient as per http://weblog203.rssing.com/chan-6906880/latest.php, there can be potentially other prefixes:

AB Independent AIS Base Station AD Dependent AIS Base Station AI Mobile Class A or B AIS Station AN AIS Aids to Navigation Station AR AIS Receiving Station AS Limited Base Station AT AIS Transmitting Station AX AIS Simplex Repeater Station SA Physical Shore AIS Station