From 72f2bcd2753ff4c9884e1670ac0719e7988969f0 Mon Sep 17 00:00:00 2001 From: junzis Date: Wed, 23 Mar 2016 11:45:38 +0100 Subject: [PATCH] update README --- README.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rst b/README.rst index ab2a389..2db2e20 100644 --- a/README.rst +++ b/README.rst @@ -41,6 +41,19 @@ Usage 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: .. code:: python