summaryrefslogtreecommitdiff
path: root/sample-config.toml
blob: cdd27da1874156e9c8f78d4970eb4251ceb6a390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[audioswitch]
dev = "/dev/ttyUSB0"
baud = 19200
timeout = "500ms"
unit = 0
ports = [ { name = "master_main", number = 1 },
          { name = "master_music", number = 2 },
          { name = "standby_main", number = 3 },
          { name = "standby_music", number = 4 } ]

[servers]

  # [servers.master]
  # ctrl_dev = "/dev/ttyUSB1"
  # ctrl_baud = 38400
  # heartbeat_dev = "/dev/ttyUSB2"
  # heartbeat_baud = 19200

  # [servers.standby]
  # ctrl_dev = "/dev/ttyUSB3"
  # ctrl_baud = 38400
  # heartbeat_dev = "/dev/ttyUSB4"
  # heartbeat_baud = 19200

[clients]

  [clients.web]
  addr = ":4080"

  [clients.telnet]
  addr = "localhost:4023"