use new yaml config loader in client

This commit is contained in:
Bastian Schroll 2019-02-27 08:02:40 +01:00
parent b1a3a68e35
commit 90ccbf9d0d
4 changed files with 93 additions and 53 deletions

View file

@ -8,27 +8,27 @@
# by Bastian Schroll
client:
name: "BW3 Client"
inputSource: "stick"
name: BW3 Client # name of the BW3 Client instance
inputSource: stick # possible is 'stick' or 'audio'
useBroadcast: yes # use broadcast function to find server
server:
- name: "Server one"
ip: "127.0.0.1"
servers: # only used if useBroadcast = no
- name: Server one
ip: 127.0.0.1
port: 8080
- name: "Server two"
ip: "11.12.13.14"
- name: Server two
ip: 11.12.13.14
port: 5000
# stick or audio
inputSource:
stick:
device: 0
frequency: "85.000M"
frequency: 85.000M
PPMError: 0
Squelch: 0
Gain: 100
audio:
audio: # not implemented yet
decoder:
fms: yes
@ -36,14 +36,3 @@ decoder:
poc512: yes
poc1200: yes
poc2400: yes
doubleFilter:
- name: "Filter one"
MaxEntry: 30
IgnoreTime: 10
CheckMsg: no
- name: "Filter two"
MaxEntry: 30
IgnoreTime: 10
CheckMsg: no