From 7758ff6541e32c376d355705c4106cbe25a57cd9 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 8 Sep 2023 19:58:38 +0200 Subject: [PATCH] enable vdl2 as a service --- owrx/modes.py | 1 + owrx/service/__init__.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/owrx/modes.py b/owrx/modes.py index 5b995419..94c67744 100644 --- a/owrx/modes.py +++ b/owrx/modes.py @@ -197,6 +197,7 @@ class Modes(object): underlying=["empty"], bandpass=Bandpass(-12500, 12500), requirements=["dumpvdl2"], + service=True, squelch=False, ) ] diff --git a/owrx/service/__init__.py b/owrx/service/__init__.py index 2c86142b..9c20f5de 100644 --- a/owrx/service/__init__.py +++ b/owrx/service/__init__.py @@ -318,6 +318,9 @@ class ServiceHandler(SdrSourceEventClient): elif mod == "hfdl": from csdr.chain.dumphfdl import DumpHFDL return DumpHFDL() + elif mod == "vdl2": + from csdr.chain.dumpvdl2 import DumpVDL2 + return DumpVDL2() raise ValueError("unsupported service modulation: {}".format(mod))