summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorS. Hameed <shameed@jp.adit-jv.com>2015-08-05 15:22:20 +0900
committerLutz Helwing <lutz_helwing@mentor.com>2015-11-24 09:48:42 +0100
commit8ed28dc15429a736c8404d491ed73fd0b04235e2 (patch)
tree0c1c68a5a58c59c3936986a4495c467798b7964b /include
parentda4ac57d87108d8b2690979c273c000a798a59f5 (diff)
downloadDLT-daemon-8ed28dc15429a736c8404d491ed73fd0b04235e2.tar.gz
Offline logstorage: Offline logstorage feature
Features: 1. Offline log storage to internal and external devices (PATH based trigger) 2. File options configurable in dlt.conf a : Appends timestamp in log file name (OfflineLogstorageTimestamp) b : Appends delimiter in log file name (OfflineLogstorageDelimiter) c : Wrap around value for log file count in file name (OfflineLogstorageMaxCounter) 3. Common config file parser support Signed-off-by: S. Hameed <shameed@jp.adit-jv.com> Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_common.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h
index 4b7f45f..2083a18 100644
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
@@ -322,6 +322,11 @@ enum {
#define DLT_HEADER_SHOW_ALL 0xFFFF
/**
+ * Maximal length of mounted path
+ */
+#define DLT_MOUNT_PATH_MAX 1024
+
+/**
* The definition of the serial header containing the characters "DLS" + 0x01.
*/
extern const char dltSerialHeader[DLT_ID_SIZE];
@@ -553,10 +558,10 @@ typedef struct
*/
typedef struct
{
- uint32_t service_id; /**< service ID */
- uint8_t dev_num; /**< device number of the connected device */
- uint8_t connection_type; /**< connection status of the connected device connected/disconnected */
- char comid[DLT_ID_SIZE]; /**< communication interface */
+ uint32_t service_id; /**< service ID */
+ char mount_point[DLT_MOUNT_PATH_MAX]; /**< storage device mount point */
+ uint8_t connection_type; /**< connection status of the connected device connected/disconnected */
+ char comid[DLT_ID_SIZE]; /**< communication interface */
} PACKED DltServiceOfflineLogstorage;
/**