From a8bd13f7e6a918661c88b1d146b680ae4a15bf4d Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 30 Nov 2020 17:13:03 +0100 Subject: [PATCH] increase bandwidth for packet to 12.5kHz --- owrx/modes.py | 8 +++++++- owrx/service/__init__.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/owrx/modes.py b/owrx/modes.py index 166373c..3e607eb 100644 --- a/owrx/modes.py +++ b/owrx/modes.py @@ -62,7 +62,13 @@ class Modes(object): ), DigitalMode("js8", "JS8Call", underlying=["usb"], requirements=["js8call"], service=True), DigitalMode( - "packet", "Packet", underlying=["nfm", "usb", "lsb"], requirements=["packet"], service=True, squelch=False + "packet", + "Packet", + underlying=["nfm", "usb", "lsb"], + bandpass=Bandpass(-6250, 6250), + requirements=["packet"], + service=True, + squelch=False, ), DigitalMode( "pocsag", diff --git a/owrx/service/__init__.py b/owrx/service/__init__.py index 98cf557..8ca2e3f 100644 --- a/owrx/service/__init__.py +++ b/owrx/service/__init__.py @@ -252,7 +252,7 @@ class ServiceHandler(SdrSourceEventClient): d.set_center_freq(center_freq) if mode == "packet": d.set_demodulator("nfm") - d.set_bpf(-4000, 4000) + d.set_bpf(-6250, 6250) elif mode == "wspr": d.set_demodulator("usb") # WSPR only samples between 1400 and 1600 Hz