summaryrefslogtreecommitdiff
path: root/examples/subscribe-sample.cpp
diff options
context:
space:
mode:
authorLutz Bichler <Lutz.Bichler@bmw.de>2020-02-12 13:04:15 +0100
committerLutz Bichler <Lutz.Bichler@bmw.de>2020-02-12 13:04:15 +0100
commit8371cdca9463a75220c4de92b47c8df9d3bbe346 (patch)
tree16b4bf73c284b026b0ac032171110dafd1752196 /examples/subscribe-sample.cpp
parentee44d19e0a3773adcda3bace073c66e334a3e6a7 (diff)
downloadvSomeIP-8371cdca9463a75220c4de92b47c8df9d3bbe346.tar.gz
vsomeip 3.1.7.13.1.7.1
Diffstat (limited to 'examples/subscribe-sample.cpp')
-rw-r--r--examples/subscribe-sample.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/subscribe-sample.cpp b/examples/subscribe-sample.cpp
index 5350263..7374dae 100644
--- a/examples/subscribe-sample.cpp
+++ b/examples/subscribe-sample.cpp
@@ -54,7 +54,7 @@ public:
SAMPLE_INSTANCE_ID,
SAMPLE_EVENT_ID,
its_groups,
- true);
+ vsomeip::event_type_e::ET_FIELD);
app_->subscribe(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID, SAMPLE_EVENTGROUP_ID);
return true;
@@ -121,7 +121,7 @@ public:
its_get->set_instance(SAMPLE_INSTANCE_ID);
its_get->set_method(SAMPLE_GET_METHOD_ID);
its_get->set_reliable(use_tcp_);
- app_->send(its_get, true);
+ app_->send(its_get);
}
if ((its_payload->get_length() % 8) == 0) {
@@ -139,7 +139,7 @@ public:
= vsomeip::runtime::get()->create_payload();
its_set_payload->set_data(its_data, sizeof(its_data));
its_set->set_payload(its_set_payload);
- app_->send(its_set, true);
+ app_->send(its_set);
}
}
}