diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2013-07-24 11:26:21 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2013-07-25 13:09:14 +0200 |
commit | 244c56f9ba0c412b20d2bd9590ae6d07a799cbc9 (patch) | |
tree | 2a445032901547e73d67269f1cf7d04bbeffe80e /include/dlt/dlt_protocol.h | |
parent | 6235728e2a7d8f4524c29681355f4953b8cc277b (diff) | |
download | DLT-daemon-244c56f9ba0c412b20d2bd9590ae6d07a799cbc9.tar.gz |
Bug 84 - Adding utf8 support to dlt-daemon, dlt-viewer. Modified patch, originally provided by Stefan Vacek.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'include/dlt/dlt_protocol.h')
-rwxr-xr-x | include/dlt/dlt_protocol.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h index 1c30d66..c2e91d7 100755 --- a/include/dlt/dlt_protocol.h +++ b/include/dlt/dlt_protocol.h @@ -155,14 +155,14 @@ #define DLT_TYPE_INFO_STRU 0x00004000 /**< Struct */
#define DLT_TYPE_INFO_SCOD 0x00038000 /**< coding of the type string: 0 = ASCII, 1 = UTF-8 */
-#define DLT_TYLE_8BIT 1
-#define DLT_TYLE_16BIT 2
-#define DLT_TYLE_32BIT 3
-#define DLT_TYLE_64BIT 4
-#define DLT_TYLE_128BIT 5
-
-#define DLT_SCOD_ASCII 0
-#define DLT_SCOD_UTF8 1
+#define DLT_TYLE_8BIT 0x00000001
+#define DLT_TYLE_16BIT 0x00000002
+#define DLT_TYLE_32BIT 0x00000003
+#define DLT_TYLE_64BIT 0x00000004
+#define DLT_TYLE_128BIT 0x00000005
+
+#define DLT_SCOD_ASCII 0x00000000
+#define DLT_SCOD_UTF8 0x00008000
/*
* Definitions of DLT services.
|