js8 slow mode (attempt?)

This commit is contained in:
Jakob Ketterl
2020-04-23 00:34:49 +02:00
parent 5ab2f02f63
commit 2df56ad8b9
2 changed files with 14 additions and 6 deletions

View File

@ -6,16 +6,14 @@ from js8py.frames import Js8FrameHeartbeat, Js8FrameCompound
from owrx.map import Map, LocatorLocation
from owrx.pskreporter import PskReporter
from owrx.metrics import Metrics, CounterMetric
from abc import ABCMeta
import logging
logger = logging.getLogger(__name__)
class Js8NormalProfile(AudioChopperProfile):
def getInterval(self):
return 15
class Js8Profile(AudioChopperProfile, metaclass=ABCMeta):
def getFileTimestampFormat(self):
return "%y%m%d_%H%M%S"
@ -23,6 +21,16 @@ class Js8NormalProfile(AudioChopperProfile):
return ["js8", "--js8", "-d", str(self.decoding_depth("js8")), file]
class Js8NormalProfile(Js8Profile):
def getInterval(self):
return 15
class Js8SlowProfile(Js8Profile):
def getInterval(self):
return 30
class Js8Parser(Parser):
decoderRegex = re.compile(" ?<Decode(Started|Debug|Finished)>")