changed ebusd default address to 0x31

This commit is contained in:
john30
2016-03-13 13:24:34 +01:00
parent 84cd4a7a55
commit 0981c15fbe
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ static struct options opt = {
false, // scanConfig false, // scanConfig
0, // checkConfig 0, // checkConfig
5, // pollInterval 5, // pollInterval
0xFF, // address 0x31, // address
false, // answer false, // answer
9400, // acquireTimeout 9400, // acquireTimeout
3, // acquireRetries 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 }, {"pollinterval", O_POLINT, "SEC", 0, "Poll for data every SEC seconds (0=disable) [5]", 0 },
{NULL, 0, NULL, 0, "eBUS options:", 3 }, {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 }, {"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 }, {"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 }, {"acquireretries", O_ACQRET, "COUNT", 0, "Retry bus acquisition COUNT times [3]", 0 },
+1 -1
View File
@@ -38,7 +38,7 @@ struct options
int checkConfig; //!< check CSV config files (!=0) and optionally dump (2), then stop int checkConfig; //!< check CSV config files (!=0) and optionally dump (2), then stop
int pollInterval; //!< poll interval in seconds, 0 to disable [5] 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 bool answer; //!< answer to requests from other masters
int acquireTimeout; //!< bus acquisition timeout in us [9400] int acquireTimeout; //!< bus acquisition timeout in us [9400]
int acquireRetries; //!< number of retries for bus acquisition [3] int acquireRetries; //!< number of retries for bus acquisition [3]