1
0
Fork 0
mirror of https://github.com/Luzifer/culmqtt.git synced 2024-12-23 03:01:19 +00:00

Fix: Write init after reset

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-07-14 02:17:53 +02:00
parent 3a2dde1cad
commit a3277d0cfc
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -63,10 +63,10 @@ func main() {
// Send initialization for the CUL
// TODO: This might be useful to be configurable?
fmt.Fprintln(port, "X21") // Turn on echoing of received messages
fmt.Fprintln(port, "Ax") // reset AskSin
fmt.Fprintln(port, "Zx") // reset Moritz
fmt.Fprintln(port, "brx") // reset WMBus
fmt.Fprintln(port, "X21") // Turn on echoing of received messages
for {
scanner := bufio.NewScanner(port)