mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-28 10:54:21 +01:00
collect testdata for the testmode
This commit is contained in:
parent
0199151165
commit
174ad46a8c
|
|
@ -332,10 +332,6 @@ try:
|
|||
# Get decoded data from multimon-ng and call BOSWatch-decoder
|
||||
#
|
||||
while True:
|
||||
# RAW Data from Multimon-NG
|
||||
# ZVEI2: 25832
|
||||
# FMS: 43f314170000 (9=Rotkreuz 3=Bayern 1 Ort 0x25=037FZG 7141Status 3=Einsatz Ab 0=FZG->LST2=III(mit NA,ohneSIGNAL)) CRC correct\n'
|
||||
# POCSAG1200: Address: 1234567 Function: 1 Alpha: Hello World
|
||||
if not args.test:
|
||||
decoded = str(multimon_ng.stdout.readline()) #Get line data from multimon stdout
|
||||
|
||||
|
|
|
|||
16
testdata/testdata.txt
vendored
Normal file
16
testdata/testdata.txt
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#Testdata for the BOSWatch Test Mode function
|
||||
#Data in Multimon-NG Raw Format
|
||||
#Data is alternately passed to the decoder to simulate an used Radio-Frequency
|
||||
|
||||
#POCSAG
|
||||
|
||||
#FMS
|
||||
|
||||
#ZVEI
|
||||
#two different ids to check filter function
|
||||
ZVEI2: 12345
|
||||
ZVEI2: 56789
|
||||
#in case of incomplete id
|
||||
ZVEI2: 135
|
||||
#in case of a double-tone for siren n-Fs are sended
|
||||
ZVEI2: FFF
|
||||
Loading…
Reference in a new issue