From 81d76cfeaa3588069887a19f9be7d4337c567c65 Mon Sep 17 00:00:00 2001 From: "S. Hameed" Date: Tue, 28 Jul 2015 16:26:00 +0900 Subject: Offline Logstorage [1/4]: DLT preparation to enable offline logstorage Signed-off-by: S. Hameed --- include/dlt/dlt_common.h | 11 +++++++++++ include/dlt/dlt_protocol.h | 1 + 2 files changed, 12 insertions(+) (limited to 'include') diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 0f8531c..10334ca 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -543,6 +543,17 @@ typedef struct uint8_t status; /**< reponse status */ } PACKED DltServiceMarker; +/*** + * The structure of the DLT Service Offline Logstorage + */ +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 */ +} PACKED DltServiceOfflineLogstorage; + /** * Structure to store filter parameters. * ID are maximal four characters. Unused values are filled with zeros. diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h index d734084..3c8488a 100755 --- a/include/dlt/dlt_protocol.h +++ b/include/dlt/dlt_protocol.h @@ -198,6 +198,7 @@ #define DLT_SERVICE_ID_CONNECTION_INFO 0xf02 /**< Service ID: Message connection info */ #define DLT_SERVICE_ID_TIMEZONE 0xf03 /**< Service ID: Timezone */ #define DLT_SERVICE_ID_MARKER 0xf04 /**< Service ID: Marker */ +#define DLT_SERVICE_ID_OFFLINE_LOGSTORAGE 0xf05 /**< Service ID: Offline log storage */ #define DLT_SERVICE_ID_CALLSW_CINJECTION 0xFFF /**< Service ID: Message Injection (minimal ID) */ /* -- cgit v1.2.1