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")
|
mmProc.addArgument("-a POCSAG1200")
|
||||||
if decoderConfig.get("poc2400", default=0):
|
if decoderConfig.get("poc2400", default=0):
|
||||||
mmProc.addArgument("-a POCSAG2400")
|
mmProc.addArgument("-a POCSAG2400")
|
||||||
|
if lineInConfig.get("mmChar"):
|
||||||
|
mmProc.addArgument("-C " + str(lineInConfig.get("mmChar")))
|
||||||
mmProc.addArgument("-f alpha")
|
mmProc.addArgument("-f alpha")
|
||||||
mmProc.addArgument("-t raw -")
|
mmProc.addArgument("-t raw -")
|
||||||
mmProc.setStdin(lineInProc.stdout)
|
mmProc.setStdin(lineInProc.stdout)
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,8 @@ class SdrInput(InputBase):
|
||||||
mmProc.addArgument("-a POCSAG1200")
|
mmProc.addArgument("-a POCSAG1200")
|
||||||
if decoderConfig.get("poc2400", default=0):
|
if decoderConfig.get("poc2400", default=0):
|
||||||
mmProc.addArgument("-a POCSAG2400")
|
mmProc.addArgument("-a POCSAG2400")
|
||||||
|
if lineInConfig.get("mmChar"):
|
||||||
|
mmProc.addArgument("-C " + str(lineInConfig.get("mmChar")))
|
||||||
mmProc.addArgument("-f alpha")
|
mmProc.addArgument("-f alpha")
|
||||||
mmProc.addArgument("-t raw -")
|
mmProc.addArgument("-t raw -")
|
||||||
mmProc.setStdin(sdrProc.stdout)
|
mmProc.setStdin(sdrProc.stdout)
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,12 @@ inputSource:
|
||||||
gain: 100
|
gain: 100
|
||||||
rtlPath: /usr/bin/rtl_fm
|
rtlPath: /usr/bin/rtl_fm
|
||||||
mmPath: /opt/multimon/multimon-ng
|
mmPath: /opt/multimon/multimon-ng
|
||||||
|
mmChar: DE
|
||||||
lineIn:
|
lineIn:
|
||||||
card: 1
|
card: 1
|
||||||
device: 0
|
device: 0
|
||||||
mmPath: /opt/multimon/multimon-ng
|
mmPath: /opt/multimon/multimon-ng
|
||||||
|
mmChar: DE
|
||||||
|
|
||||||
decoder:
|
decoder:
|
||||||
fms: yes
|
fms: yes
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ Es gibt die Auswahl zwischen `sdr` oder `lineIn` als Input Quelle
|
||||||
|gain|Verstärkung des Eingangssignals|100|
|
|gain|Verstärkung des Eingangssignals|100|
|
||||||
|rtlPath|Pfad zur rtl_fm Binary|rtl_fm|
|
|rtlPath|Pfad zur rtl_fm Binary|rtl_fm|
|
||||||
|mmPath|Pfad zur multimon-ng Binary|multimon-ng|
|
|mmPath|Pfad zur multimon-ng Binary|multimon-ng|
|
||||||
|
|mmChar|multimon-ng Char-Set||
|
||||||
|
|
||||||
**Beispiel:**
|
**Beispiel:**
|
||||||
```yaml
|
```yaml
|
||||||
|
|
@ -60,6 +61,7 @@ inputSource:
|
||||||
gain: 100
|
gain: 100
|
||||||
rtlPath: /usr/bin/rtl-fm
|
rtlPath: /usr/bin/rtl-fm
|
||||||
mmPath: /opt/multimon/multimon-ng
|
mmPath: /opt/multimon/multimon-ng
|
||||||
|
mmChar: DE
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `lineIn:`
|
#### `lineIn:`
|
||||||
|
|
@ -67,6 +69,7 @@ inputSource:
|
||||||
|----|------------|-------|
|
|----|------------|-------|
|
||||||
|device|die device Id der Soundkarte|1|
|
|device|die device Id der Soundkarte|1|
|
||||||
|mmPath|Pfad zur multimon-ng Binary|multimon-ng|
|
|mmPath|Pfad zur multimon-ng Binary|multimon-ng|
|
||||||
|
|mmChar|multimon-ng Char-Set||
|
||||||
|
|
||||||
**Device herausfinden**
|
**Device herausfinden**
|
||||||
Durch eingabe des Befehls `aplay -l` werden alle Soundkarten ausgegeben. Das schaut ungefähr so aus:
|
Durch eingabe des Befehls `aplay -l` werden alle Soundkarten ausgegeben. Das schaut ungefähr so aus:
|
||||||
|
|
@ -108,6 +111,7 @@ inputSource:
|
||||||
card: 1
|
card: 1
|
||||||
device: 0
|
device: 0
|
||||||
mmPath: /opt/multimon/multimon-ng
|
mmPath: /opt/multimon/multimon-ng
|
||||||
|
mmChar: DE
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue