mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
also tap into pocsag data
This commit is contained in:
parent
7321cf88b3
commit
ea1b0cecc2
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from csdr.module import PickleModule
|
||||
from owrx.bands import Bandplan
|
||||
from owrx.metrics import Metrics, CounterMetric
|
||||
from owrx.reporting import ReportingEngine
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
@ -17,6 +18,7 @@ class PocsagParser(PickleModule):
|
|||
meta["address"] = int(meta["address"])
|
||||
meta["mode"] = "Pocsag"
|
||||
self.pushDecode()
|
||||
ReportingEngine.getSharedInstance().spot(meta)
|
||||
return meta
|
||||
except Exception:
|
||||
logger.exception("Exception while parsing Pocsag message")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue