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.

19 lines
511 B
Markdown

5 years ago
# python-pocsag
5 years ago
# Features:
- TX Batch, Single Preamble + "X"-repeat of "Y"-messages
- Supports inverted POCSAG
- Numeric and ASCII(7bit) supported
# Code:
5 years ago
POCSAG Encoder for Python
5 years ago
```python
from pocsag import encodeTXBatch
msgs = []
5 years ago
# Format = [ IsNumeric, Address(also supports A,B,C,D suffix like "133703C"), Message ]
5 years ago
msgs.append([False, "133702", 'PROBE Alarm - AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz.:;#!" 0123456789'])
5 years ago
data = encodeTXBatch(msgs) #, repeatNum = 2, inverted = False
5 years ago
```