diff options
author | Bui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com> | 2020-02-20 18:11:43 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2020-07-06 10:04:07 +0900 |
commit | c215d96ee6543fbc9429a1962c7d7b58593977ea (patch) | |
tree | 94da4773639060f6efdcd4001d7053155902a287 /src/gateway/dlt_gateway.conf | |
parent | 1d448c10b397e262c813d70864d05fdedeb66062 (diff) | |
download | DLT-daemon-c215d96ee6543fbc9429a1962c7d7b58593977ea.tar.gz |
gateway: Configurable interval time
- Introduce "General" section for dlt_gateway.conf
- In new section, the interval is used for gateway timer.
This entry is optional. By default, it is set to 1 second
as the existing hardcoded value.
Signed-off-by: Bui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com>
Diffstat (limited to 'src/gateway/dlt_gateway.conf')
-rw-r--r-- | src/gateway/dlt_gateway.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gateway/dlt_gateway.conf b/src/gateway/dlt_gateway.conf index c68aa4f..c7ef3a8 100644 --- a/src/gateway/dlt_gateway.conf +++ b/src/gateway/dlt_gateway.conf @@ -1,3 +1,7 @@ +[General] +; Time interval for reconnection to passive Node in second. +; Interval=1 + [PassiveNode1] IPaddress=192.168.2.11 ; TCP port. Default 3490 is used if no port is specified. @@ -6,7 +10,7 @@ IPaddress=192.168.2.11 EcuID=ECU2 ; Try connect to passive Node on DLT Daemon startup. Default OnStartup if not specified. ; Connect=OnStartup -; Stop connecting to passive node, if not successful after 10 seconds +; Stop connecting to passive node, if not successful after 10 retries. Timeout=10 ; Send following control messages after connection is established ; SendControl=0x03,0x04,0x13 |