From 22b6d3e6459f08e205033ccc50fa0fecef46a604 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 6 Sep 2023 03:16:50 +0200 Subject: [PATCH] make hfdl available 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 b1ab983e..5b995419 100644 --- a/owrx/modes.py +++ b/owrx/modes.py @@ -188,6 +188,7 @@ class Modes(object): underlying=["empty"], bandpass=Bandpass(0, 3000), requirements=["dumphfdl"], + service=True, squelch=False, ), DigitalMode( diff --git a/owrx/service/__init__.py b/owrx/service/__init__.py index 3662391e..2c86142b 100644 --- a/owrx/service/__init__.py +++ b/owrx/service/__init__.py @@ -315,6 +315,9 @@ class ServiceHandler(SdrSourceEventClient): elif mod == "adsb": from csdr.chain.dump1090 import Dump1090 return Dump1090() + elif mod == "hfdl": + from csdr.chain.dumphfdl import DumpHFDL + return DumpHFDL() raise ValueError("unsupported service modulation: {}".format(mod))