diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2013-12-09 13:52:31 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-01-10 07:16:04 +0100 |
commit | bff03e36c4ef0fe7f49403bbbcb49d48493293b7 (patch) | |
tree | 33685b60ed90d0830b9708af97394e2ecb0e3686 /include | |
parent | 302499439d5cdfab0ed7a2bf850e644eb98874df (diff) | |
download | DLT-daemon-bff03e36c4ef0fe7f49403bbbcb49d48493293b7.tar.gz |
Added new control message timezone.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
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 0740c9e..22710c7 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -520,6 +520,17 @@ typedef struct } PACKED DltServiceConnectionInfo; /** + * The structure of the DLT Service Timezone + */ +typedef struct +{ + uint32_t service_id; /**< service ID */ + uint8_t status; /**< reponse status */ + int32_t timezone; /**< Timezone in seconds */ + uint8_t isdst; /**< Is daylight saving time */ +} PACKED DltServiceTimezone; + +/** * Structure to store filter parameters. * ID are maximal four characters. Unused values are filled with zeros. * If every value as filter is valid, the id should be empty by having only zero values. diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h index 7e941fe..09e4adc 100755 --- a/include/dlt/dlt_protocol.h +++ b/include/dlt/dlt_protocol.h @@ -189,6 +189,7 @@ #define DLT_SERVICE_ID_MESSAGE_BUFFER_OVERFLOW 0x14 /**< Service ID: Message buffer overflow */
#define DLT_SERVICE_ID_UNREGISTER_CONTEXT 0xf01 /**< Service ID: Message unregister context */
#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_CALLSW_CINJECTION 0xFFF /**< Service ID: Message Injection (minimal ID) */
/*
|