Skip to content

Commit 365cd04

Browse files
committed
mqtt-gateway v0.7.0
1 parent b1ae066 commit 365cd04

File tree

24 files changed

+1193
-895
lines changed

24 files changed

+1193
-895
lines changed

cmd/gateway/config.go

Lines changed: 0 additions & 147 deletions
This file was deleted.

cmd/gateway/config_examples/cs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# configure central station
2+
type: cs
23
name: cs01
34
port: /dev/ttyACM0 # connected to serial port
45
primary:

cmd/gateway/config_examples/loco.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# configure loco
2+
type: loco
23
name: br01
34
addr: 1 # decoder address
45
fcts:

cmd/gateway/config_examples/multi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# multi document YAML configuration file
22
---
33
# configure central station
4+
type: cs
45
name: cs02
56
host: localhost # connected via WiFi TCP/IP connection
67
port: 4242
@@ -12,6 +13,7 @@ secondary:
1213
- .* # secondary command station for all remaining devices
1314
---
1415
# configure loco
16+
type: loco
1517
name: br18
1618
addr: 18 # decoder address
1719
fcts:

cmd/gateway/config_test.go

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)