relax bds17 identification

This commit is contained in:
Junzi Sun
2018-08-24 16:45:12 +02:00
parent 8adacd8e91
commit e5d5633535
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -46,7 +46,11 @@ def is17(msg):
# basic BDS codes for ADS-B shall be supported
# assuming ADS-B out is installed (2017EU/2020US mandate)
if not set(['BDS05', 'BDS06', 'BDS08', 'BDS09', 'BDS20']).issubset(caps):
# if not set(['BDS05', 'BDS06', 'BDS08', 'BDS09', 'BDS20']).issubset(caps):
# return False
# at least you can respond who you are
if 'BDS20' not in caps:
return False
return True