23 lines
840 B
Python
23 lines
840 B
Python
from typing import Optional
|
|
|
|
def hex2bin(hexstr: str) -> str: ...
|
|
def bin2int(binstr: str) -> int: ...
|
|
def hex2int(hexstr: str) -> int: ...
|
|
def bin2hex(binstr: str) -> str: ...
|
|
def df(msg: str) -> int: ...
|
|
def crc(msg: str, encode: bool = False) -> int: ...
|
|
def floor(x: float) -> float: ...
|
|
def icao(msg: str) -> Optional[str]: ...
|
|
def is_icao_assigned(icao: str) -> bool: ...
|
|
def typecode(msg: str) -> Optional[int]: ...
|
|
def cprNL(lat: float) -> int: ...
|
|
def idcode(msg: str) -> str: ...
|
|
def squawk(binstr: str) -> str: ...
|
|
def altcode(msg: str) -> Optional[int]: ...
|
|
def altitude(binstr: str) -> Optional[int]: ...
|
|
def gray2alt(binstr: str) -> Optional[int]: ...
|
|
def gray2int(binstr: str) -> int: ...
|
|
def data(msg: str) -> str: ...
|
|
def allzeros(msg: str) -> bool: ...
|
|
def wrongstatus(data: str, sb: int, msb: int, lsb: int) -> bool: ...
|