summaryrefslogtreecommitdiff
path: root/examples/example3
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example3')
-rw-r--r--examples/example3/example3.c6
-rw-r--r--examples/example3/example3.xml21
2 files changed, 6 insertions, 21 deletions
diff --git a/examples/example3/example3.c b/examples/example3/example3.c
index bd72671..737a2a1 100644
--- a/examples/example3/example3.c
+++ b/examples/example3/example3.c
@@ -61,9 +61,9 @@ int main()
for(num=0;num<10;num++)
{
- DLT_LOG_ID(con_exa3,DLT_LOG_INFO,DLT_EXA3_CON_EXA3_ID1,DLT_INT32(12345678),DLT_STRING("Hello world 1!"));
- DLT_LOG_ID(con_exa3,DLT_LOG_ERROR,DLT_EXA3_CON_EXA3_ID2,DLT_INT32(87654321),DLT_STRING("Hello world 2!"));
- DLT_LOG_ID(con_exa3,DLT_LOG_WARN,DLT_EXA3_CON_EXA3_ID3,DLT_INT32(11223344),DLT_STRING("Hello world 3!"));
+ DLT_LOG_ID(con_exa3,DLT_LOG_INFO,DLT_EXA3_CON_EXA3_ID1,DLT_INT32(12345678),DLT_CSTRING("Hello world 1!"));
+ DLT_LOG_ID(con_exa3,DLT_LOG_ERROR,DLT_EXA3_CON_EXA3_ID2,DLT_INT32(87654321),DLT_CSTRING("Hello world 2!"));
+ DLT_LOG_ID(con_exa3,DLT_LOG_WARN,DLT_EXA3_CON_EXA3_ID3,DLT_INT32(11223344),DLT_CSTRING("Hello world 3!"));
usleep(1000);
}
diff --git a/examples/example3/example3.xml b/examples/example3/example3.xml
index 706c0b5..616cfcb 100644
--- a/examples/example3/example3.xml
+++ b/examples/example3/example3.xml
@@ -38,14 +38,9 @@
</fx:PDU>
<fx:PDU ID="PDU_1000_1">
<ho:SHORT-NAME>PDU_1000_1</ho:SHORT-NAME>
+ <ho:DESC>Hello world 1!</ho:DESC>
<fx:BYTE-LENGTH>0</fx:BYTE-LENGTH>
<fx:PDU-TYPE>OTHER</fx:PDU-TYPE>
- <fx:SIGNAL-INSTANCES>
- <fx:SIGNAL-INSTANCE ID="S_1000_0">
- <fx:SEQUENCE-NUMBER>0</fx:SEQUENCE-NUMBER>
- <fx:SIGNAL-REF ID-REF="S_STRG_ASCII"/>
- </fx:SIGNAL-INSTANCE>
- </fx:SIGNAL-INSTANCES>
</fx:PDU>
<fx:PDU ID="PDU_1001_0">
<ho:SHORT-NAME>PDU_1001_0</ho:SHORT-NAME>
@@ -60,14 +55,9 @@
</fx:PDU>
<fx:PDU ID="PDU_1001_1">
<ho:SHORT-NAME>PDU_1001_1</ho:SHORT-NAME>
+ <ho:DESC>Hello world 2!</ho:DESC>
<fx:BYTE-LENGTH>0</fx:BYTE-LENGTH>
<fx:PDU-TYPE>OTHER</fx:PDU-TYPE>
- <fx:SIGNAL-INSTANCES>
- <fx:SIGNAL-INSTANCE ID="S_1001_0">
- <fx:SEQUENCE-NUMBER>0</fx:SEQUENCE-NUMBER>
- <fx:SIGNAL-REF ID-REF="S_STRG_ASCII"/>
- </fx:SIGNAL-INSTANCE>
- </fx:SIGNAL-INSTANCES>
</fx:PDU>
<fx:PDU ID="PDU_1002_0">
<ho:SHORT-NAME>PDU_1002_0</ho:SHORT-NAME>
@@ -82,14 +72,9 @@
</fx:PDU>
<fx:PDU ID="PDU_1002_1">
<ho:SHORT-NAME>PDU_1002_1</ho:SHORT-NAME>
+ <ho:DESC>Hello world 3!</ho:DESC>
<fx:BYTE-LENGTH>0</fx:BYTE-LENGTH>
<fx:PDU-TYPE>OTHER</fx:PDU-TYPE>
- <fx:SIGNAL-INSTANCES>
- <fx:SIGNAL-INSTANCE ID="S_1002_0">
- <fx:SEQUENCE-NUMBER>0</fx:SEQUENCE-NUMBER>
- <fx:SIGNAL-REF ID-REF="S_STRG_ASCII"/>
- </fx:SIGNAL-INSTANCE>
- </fx:SIGNAL-INSTANCES>
</fx:PDU>
</fx:PDUS>
<fx:FRAMES>