diff options
author | S. Hameed <shameed@jp.adit-jv.com> | 2015-07-28 16:26:00 +0900 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-07-30 10:22:17 +0200 |
commit | 81d76cfeaa3588069887a19f9be7d4337c567c65 (patch) | |
tree | 4e00527db6efd632fc0559e8bcc505c9bcee1b39 /include | |
parent | 4092d77b78cd3b1e6805c4c32d9842de83d23e7f (diff) | |
download | DLT-daemon-81d76cfeaa3588069887a19f9be7d4337c567c65.tar.gz |
Offline Logstorage [1/4]: DLT preparation to enable offline logstorage
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/dlt/dlt_common.h | 11 | ||||
-rwxr-xr-x | include/dlt/dlt_protocol.h | 1 |
2 files changed, 12 insertions, 0 deletions
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) */ /* |