Updated some comments, and removed extra printf from environment.

This commit is contained in:
skarg
2015-12-17 22:50:53 +00:00
parent cce0df1a7c
commit b4a3fc7543
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -60,6 +60,9 @@ BACNET_APDU_TIMEOUT - set this value in milliseconds to change
the APDU timeout. APDU Timeout is how much time a client
waits for a response from a BACnet device. Default is 3000ms.
BACNET_APDU_RETRIES - indicate the maximum number of times that
an APDU shall be retransmitted.
BACNET_IFACE - set this value to dotted IP address (Windows) of
the interface (see ipconfig command on Windows) for which you
want to bind. On Linux, set this to the /dev interface
+2 -1
View File
@@ -203,6 +203,8 @@ void dlenv_maintenance_timer(
* - BACNET_APDU_TIMEOUT - set this value in milliseconds to change
* the APDU timeout. APDU Timeout is how much time a client
* waits for a response from a BACnet device.
* - BACNET_APDU_RETRIES - indicate the maximum number of times that
* an APDU shall be retransmitted.
* - BACNET_IFACE - set this value to dotted IP address (Windows) of
* the interface (see ipconfig command on Windows) for which you
* want to bind. On Linux, set this to the /dev interface
@@ -284,7 +286,6 @@ void dlenv_init(
pEnv = getenv("BACNET_APDU_TIMEOUT");
if (pEnv) {
apdu_timeout_set((uint16_t) strtol(pEnv, NULL, 0));
fprintf(stderr, "BACNET_APDU_TIMEOUT=%s\r\n", pEnv);
} else {
#if defined(BACDL_MSTP)
apdu_timeout_set(60000);