From 5a524245505bc475eff1ec8e0da621c06d5a9f90 Mon Sep 17 00:00:00 2001 From: cheetah Date: Tue, 22 Oct 2019 22:20:47 +0200 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f1bfaa6..c7629e0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,18 @@ # python-pocsag + +# Features: +- TX Batch, Single Preamble + "X"-repeat of "Y"-messages +- Supports inverted POCSAG +- Numeric and ASCII(7bit) supported + + +# Code: POCSAG Encoder for Python ```python from pocsag import encodeTXBatch msgs = [] +# Format = [ IsNumeric, Address(also supports A,B,C,D suffix like "133703C"), Message ] msgs.append([False, "133702", 'PROBE Alarm - AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz.:;#!" 0123456789']) -data = encodeTXBatch(msgs) +data = encodeTXBatch(msgs) #, repeatNum = 2, inverted = False ```