update README

This commit is contained in:
junzis 2016-03-23 11:45:38 +01:00
parent 1ccd4fd83b
commit 72f2bcd275

View File

@ -41,6 +41,19 @@ Usage
import pyModeS as pms import pyModeS as pms
Common function for Mode-S message:
.. code:: python
pms.df(msg) # Downlink Format
pms.crc(msg, encode=False) # Perform CRC or generate parity bit
pms.hex2bin(str) # Convert hexadecimal string to binary string
pms.bin2int(str) # Convert binary string to integer
pms.hex2int(str) # Convert hexadecimal string to integer
Core functions for ADS-B decoding: Core functions for ADS-B decoding:
.. code:: python .. code:: python