openwebrx/owrx/vdl2/dumpvdl2.py
2023-09-04 19:02:43 +02:00

18 lines
453 B
Python

from pycsdr.modules import ExecModule
from pycsdr.types import Format
class DumpVDL2Module(ExecModule):
def __init__(self):
super().__init__(
Format.COMPLEX_SHORT,
Format.CHAR,
[
"dumpvdl2",
"--iq-file", "-",
"--oversample", "1",
"--sample-format", "S16_LE",
"--output", "decoded:json:file:path=-",
]
)