You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cheetah 5a52424550 Update README.md 5 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago
README.md Update README.md 5 years ago
pocsag.py Create pocsag.py 5 years ago

README.md

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

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) #, repeatNum = 2, inverted = False