many file moves

This commit is contained in:
Bastian Schroll 2019-03-01 12:16:06 +01:00
parent a42676010e
commit aeaea325e9
15 changed files with 8 additions and 42 deletions

View file

@ -18,7 +18,7 @@
import logging
import re
from boswatch.packet import packet
from boswatch.packet import Packet
logging.debug("- %s loaded", __name__)
@ -50,7 +50,7 @@ class FmsDecoder:
if re.search("[0-9a-f]{8}[0-9a-f][01]", fms_id):
logging.debug("found valid FMS")
bwPacket = packet.Packet()
bwPacket = Packet()
bwPacket.set("mode", "fms")
bwPacket.set("fms", fms_id)
bwPacket.set("service", service)

View file

@ -18,7 +18,7 @@
import logging
import re
from boswatch.packet import packet
from boswatch.packet import Packet
logging.debug("- %s loaded", __name__)
@ -48,7 +48,7 @@ class PocsagDecoder:
logging.debug("found valid POCSAG")
bwPacket = packet.Packet()
bwPacket = Packet()
bwPacket.set("mode", "pocsag")
bwPacket.set("bitrate", bitrate)
bwPacket.set("ric", ric)

View file

@ -18,7 +18,7 @@
import logging
import re
from boswatch.packet import packet
from boswatch.packet import Packet
logging.debug("- %s loaded", __name__)
@ -40,7 +40,7 @@ class ZveiDecoder:
if re.search("[0-9E]{5}", data[7:12]):
logging.debug("found valid ZVEI")
bwPacket = packet.Packet()
bwPacket = Packet()
bwPacket.set("mode", "zvei")
bwPacket.set("zvei", ZveiDecoder._solveDoubleTone(data[7:12]))