diff --git a/bacnet-stack/bin/readme.txt b/bacnet-stack/bin/readme.txt index e83724fd..2935435d 100644 --- a/bacnet-stack/bin/readme.txt +++ b/bacnet-stack/bin/readme.txt @@ -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 diff --git a/bacnet-stack/demo/handler/dlenv.c b/bacnet-stack/demo/handler/dlenv.c index b52ab41d..b4c62788 100644 --- a/bacnet-stack/demo/handler/dlenv.c +++ b/bacnet-stack/demo/handler/dlenv.c @@ -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);