mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
FR #42 - added config for Char-set mm
This commit is contained in:
parent
f35dc35748
commit
c3ccc11b5d
|
|
@ -51,6 +51,8 @@ class LineInInput(InputBase):
|
|||
mmProc.addArgument("-a POCSAG1200")
|
||||
if decoderConfig.get("poc2400", default=0):
|
||||
mmProc.addArgument("-a POCSAG2400")
|
||||
if lineInConfig.get("mmChar"):
|
||||
mmProc.addArgument("-C " + str(lineInConfig.get("mmChar")))
|
||||
mmProc.addArgument("-f alpha")
|
||||
mmProc.addArgument("-t raw -")
|
||||
mmProc.setStdin(lineInProc.stdout)
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ class SdrInput(InputBase):
|
|||
mmProc.addArgument("-a POCSAG1200")
|
||||
if decoderConfig.get("poc2400", default=0):
|
||||
mmProc.addArgument("-a POCSAG2400")
|
||||
if lineInConfig.get("mmChar"):
|
||||
mmProc.addArgument("-C " + str(lineInConfig.get("mmChar")))
|
||||
mmProc.addArgument("-f alpha")
|
||||
mmProc.addArgument("-t raw -")
|
||||
mmProc.setStdin(sdrProc.stdout)
|
||||
|
|
|
|||
|
|
@ -28,10 +28,12 @@ inputSource:
|
|||
gain: 100
|
||||
rtlPath: /usr/bin/rtl_fm
|
||||
mmPath: /opt/multimon/multimon-ng
|
||||
mmChar: DE
|
||||
lineIn:
|
||||
card: 1
|
||||
device: 0
|
||||
mmPath: /opt/multimon/multimon-ng
|
||||
mmChar: DE
|
||||
|
||||
decoder:
|
||||
fms: yes
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ Es gibt die Auswahl zwischen `sdr` oder `lineIn` als Input Quelle
|
|||
|gain|Verstärkung des Eingangssignals|100|
|
||||
|rtlPath|Pfad zur rtl_fm Binary|rtl_fm|
|
||||
|mmPath|Pfad zur multimon-ng Binary|multimon-ng|
|
||||
|mmChar|multimon-ng Char-Set||
|
||||
|
||||
**Beispiel:**
|
||||
```yaml
|
||||
|
|
@ -60,6 +61,7 @@ inputSource:
|
|||
gain: 100
|
||||
rtlPath: /usr/bin/rtl-fm
|
||||
mmPath: /opt/multimon/multimon-ng
|
||||
mmChar: DE
|
||||
```
|
||||
|
||||
#### `lineIn:`
|
||||
|
|
@ -67,6 +69,7 @@ inputSource:
|
|||
|----|------------|-------|
|
||||
|device|die device Id der Soundkarte|1|
|
||||
|mmPath|Pfad zur multimon-ng Binary|multimon-ng|
|
||||
|mmChar|multimon-ng Char-Set||
|
||||
|
||||
**Device herausfinden**
|
||||
Durch eingabe des Befehls `aplay -l` werden alle Soundkarten ausgegeben. Das schaut ungefähr so aus:
|
||||
|
|
@ -108,6 +111,7 @@ inputSource:
|
|||
card: 1
|
||||
device: 0
|
||||
mmPath: /opt/multimon/multimon-ng
|
||||
mmChar: DE
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue