From 0981c15fbe87e7f2112a1dfd7bfce57774b5f490 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 13 Mar 2016 13:24:34 +0100 Subject: [PATCH] changed ebusd default address to 0x31 --- src/ebusd/main.cpp | 4 ++-- src/ebusd/main.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index 7f15f03e..428cd8c4 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -70,7 +70,7 @@ static struct options opt = { false, // scanConfig 0, // checkConfig 5, // pollInterval - 0xFF, // address + 0x31, // address false, // answer 9400, // acquireTimeout 3, // acquireRetries @@ -142,7 +142,7 @@ static const struct argp_option argpoptions[] = { {"pollinterval", O_POLINT, "SEC", 0, "Poll for data every SEC seconds (0=disable) [5]", 0 }, {NULL, 0, NULL, 0, "eBUS options:", 3 }, - {"address", 'a', "ADDR", 0, "Use ADDR as own bus address [FF]", 0 }, + {"address", 'a', "ADDR", 0, "Use ADDR as own bus address [31]", 0 }, {"answer", O_ANSWER, NULL, 0, "Actively answer to requests from other masters", 0 }, {"acquiretimeout", O_ACQTIM, "USEC", 0, "Stop bus acquisition after USEC us [9400]", 0 }, {"acquireretries", O_ACQRET, "COUNT", 0, "Retry bus acquisition COUNT times [3]", 0 }, diff --git a/src/ebusd/main.h b/src/ebusd/main.h index 21399054..d6444f7b 100644 --- a/src/ebusd/main.h +++ b/src/ebusd/main.h @@ -38,7 +38,7 @@ struct options int checkConfig; //!< check CSV config files (!=0) and optionally dump (2), then stop int pollInterval; //!< poll interval in seconds, 0 to disable [5] - unsigned char address; //!< own bus address [FF] + unsigned char address; //!< own bus address [31] bool answer; //!< answer to requests from other masters int acquireTimeout; //!< bus acquisition timeout in us [9400] int acquireRetries; //!< number of retries for bus acquisition [3]