Open fixje opened 5 years ago
ModeSDecoder.getAdsbVersion returns 0 even if aircraft has never sent an ADS-B message.
ModeSDecoder.getAdsbVersion
0
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.
null
ModeSDecoder.getAdsbVersion
returns0
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.