Update allcall.py

This commit is contained in:
boringow 2020-11-12 14:49:52 +01:00 committed by GitHub
parent 35c0bfa513
commit 4ba900f500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ from pyModeS import common
Decoding all call replies DF=11
"""
def ipcode(msg):
def interrogator_code(msg):
if common.df(msg) == 11: # check that the msg is DF11
'''Returns the IP code of the Mode S all-call reply (DF11)'''
binaryraw=common.hex2bin(msg)