diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/daemon/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/daemon/dlt.conf | 81 | ||||
-rwxr-xr-x | src/lib/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | src/system/CMakeLists.txt | 4 |
4 files changed, 88 insertions, 2 deletions
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt index c309a91..45bfbbf 100755 --- a/src/daemon/CMakeLists.txt +++ b/src/daemon/CMakeLists.txt @@ -49,3 +49,6 @@ install(TARGETS dlt-daemon WORLD_EXECUTE WORLD_READ COMPONENT base) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dlt.conf + DESTINATION "etc" + COMPONENT base) diff --git a/src/daemon/dlt.conf b/src/daemon/dlt.conf new file mode 100644 index 0000000..629794d --- /dev/null +++ b/src/daemon/dlt.conf @@ -0,0 +1,81 @@ +# Configuration file of DLT daemon +# +# Configurations made here will overwrite settings by command line + +######################################################################## +# General configuration # +######################################################################## + +# Start daemon in dubug mode, so that all internal debug information is printed out on the console +# Verbose = 1 + +# Daemonize DLT daemon, if it is started as daemon +# Daemonize = 1 + +# Send DLT messages with serial header +# SendSerialHeader = 1 + +# Send automatic get log info response during context registration +# SendContextRegistration = 1 + +# Send automatic time packets every second if client is connected (Default: 0) +# SendMessageTime = 1 + +# Set ECU ID (Default: ECU1) +ECUId = ENAT + +# Size of shared memory (Default: 100000) +SharedMemorySize = 40000 + +# Directory where to store the persistant configuration (Default: /tmp) +# PersistanceStoragePath = /tmp + +######################################################################## +# Offline Trace memory # +######################################################################## + +# Store DLT messages to local directory, if not set offline Trace is off (Default: off) +# OfflineTraceDirectory = /tmp + +# Maximum size in bytes of one trace file (Default: 1000000) +# OfflineTraceFileSize = 1000000 + +# Maximum size of all trace files (Default: 4000000) +# OfflineTraceMaxSize = 4000000 + +######################################################################## +# Local console output configuration # +######################################################################## + +# Print DLT messages; payload as ASCII +# PrintASCII = 1 + +# Print DLT messages; payload as hex +# PrintHex = 1 + +# Print DLT messages; only headers +# PrintHeadersOnly = 1 + + +######################################################################## +# Client Serial port configuration # +######################################################################## + +# Additional support for serial device +# If a device name is set serial port is enabled. +# RS232DeviceName = /dev/ttyS0 + +# Serial device baudrate (Default: 115200) +# RS232Baudrate = 115200 + +# Sync to serial header on serial connection +# RS232SyncSerialHeader = 1 + +######################################################################## +# TCP Serial port configuration # +######################################################################## + +# Sync to serial header on all TCP connections +# TCPSyncSerialHeader = 1 + + diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index 7956e1f..3a6185e 100755 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -45,7 +45,7 @@ ENDIF(GPROF_DLT_LIB) target_link_libraries(dlt rt ${CMAKE_THREAD_LIBS_INIT}) -set_target_properties(dlt PROPERTIES VERSION 2.3.0 SOVERSION 2) +set_target_properties(dlt PROPERTIES VERSION 2.4.0 SOVERSION 2) install(TARGETS dlt LIBRARY DESTINATION lib diff --git a/src/system/CMakeLists.txt b/src/system/CMakeLists.txt index 4c3e3c2..64f44f1 100755 --- a/src/system/CMakeLists.txt +++ b/src/system/CMakeLists.txt @@ -47,4 +47,6 @@ install(TARGETS dlt-system RUNTIME DESTINATION bin COMPONENT base) - +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dlt-system.conf + DESTINATION "etc" + COMPONENT base) |