HackRF-Treasure-Chest/Software/Universal Radio Hacker/tests/data/decode.py
2022-09-22 13:46:47 -07:00

10 lines
163 B
Python

#!/usr/bin/env python
"""
Simple example external decoding
Simply removes every second bit
"""
import sys
bits = sys.argv[1]
print("".join(b for b in bits[::2]))