openskynetwork / java-adsb

Mode S and ADS-B decoding library for Java
GNU General Public License v3.0
103 stars 41 forks source link

ADS-B Version returned even if no ADS-B message received #26

Open fixje opened 5 years ago

fixje commented 5 years ago

ModeSDecoder.getAdsbVersion returns 0 even if aircraft has never sent an ADS-B message.

This is not mentioned in the documentation. For clean semantics, the method should return null as long as no ADS-B message has been received by the aircraft.