increase bandwidth for packet to 12.5kHz

This commit is contained in:
Jakob Ketterl 2020-11-30 17:13:03 +01:00
parent daf2848c4d
commit a8bd13f7e6
2 changed files with 8 additions and 2 deletions

View File

@ -62,7 +62,13 @@ class Modes(object):
), ),
DigitalMode("js8", "JS8Call", underlying=["usb"], requirements=["js8call"], service=True), DigitalMode("js8", "JS8Call", underlying=["usb"], requirements=["js8call"], service=True),
DigitalMode( 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( DigitalMode(
"pocsag", "pocsag",

View File

@ -252,7 +252,7 @@ class ServiceHandler(SdrSourceEventClient):
d.set_center_freq(center_freq) d.set_center_freq(center_freq)
if mode == "packet": if mode == "packet":
d.set_demodulator("nfm") d.set_demodulator("nfm")
d.set_bpf(-4000, 4000) d.set_bpf(-6250, 6250)
elif mode == "wspr": elif mode == "wspr":
d.set_demodulator("usb") d.set_demodulator("usb")
# WSPR only samples between 1400 and 1600 Hz # WSPR only samples between 1400 and 1600 Hz