summaryrefslogtreecommitdiff
path: root/config/vsomeip-tcp-service.json
diff options
context:
space:
mode:
Diffstat (limited to 'config/vsomeip-tcp-service.json')
-rw-r--r--config/vsomeip-tcp-service.json178
1 files changed, 83 insertions, 95 deletions
diff --git a/config/vsomeip-tcp-service.json b/config/vsomeip-tcp-service.json
index 3c38889..a2445ee 100644
--- a/config/vsomeip-tcp-service.json
+++ b/config/vsomeip-tcp-service.json
@@ -1,97 +1,85 @@
{
- "unicast" : "192.168.56.101",
- "logging" :
- {
- "level" : "debug",
- "console" : "true",
- "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
- "dlt" : "false"
- },
- "applications" :
- [
- {
- "name" : "service-sample",
- "id" : "0x1277"
- }
- ],
- "servicegroups" :
- [
- {
- "name" : "default",
- "unicast" : "127.0.0.1",
- "delays" :
- {
- "initial" :
- {
- "minimum" : "10",
- "maximum" : 100
- },
- "repetition-base" : "200",
- "repetition-max" : "3",
- "cyclic-offer" : "2000",
- "cyclic-request" : "2001"
- },
- "services" :
- [
- {
- "service" : "0x1234",
- "instance" : "0x5678",
- "reliable" : { "port" : "30509", "enable-magic-cookies" : "false" },
- "events" :
- [
- {
- "event" : "0x0777",
- "is_field" : "false",
- "is_reliable" : "true",
- "update-cycle" : 2000
- },
- {
- "event" : "0x0778",
- "is_field" : "true",
- "is_reliable" : "true",
- "update-cycle" : 0
- },
- {
- "event" : "0x0779",
- "is_field" : "false",
- "is_reliable" : "true"
- }
- ],
- "eventgroups" :
- [
- {
- "eventgroup" : "0x4455",
- "events" : [ "0x777", "0x778" ]
- },
- {
- "eventgroup" : "0x4465",
- "events" : [ "0x778", "0x779" ]
- },
- {
- "eventgroup" : "0x4555",
- "events" : [ "0x777", "0x779" ]
- }
- ]
- },
- {
- "service" : "0x1235",
- "instance" : "0x5678",
- "unreliable" : "30509",
- "multicast" :
- {
- "address" : "224.225.226.234",
- "port" : "32344"
- }
- }
- ]
- }
- ],
- "routing" : "service-sample",
- "service-discovery" :
- {
- "enable" : "true",
- "multicast" : "224.244.224.245",
- "port" : "30490",
- "protocol" : "udp"
- }
+ "unicast" : "192.168.56.101",
+ "logging" :
+ {
+ "level" : "debug",
+ "console" : "true",
+ "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
+ "dlt" : "false"
+ },
+ "applications" :
+ [
+ {
+ "name" : "service-sample",
+ "id" : "0x1277"
+ }
+ ],
+ "services" :
+ [
+ {
+ "service" : "0x1234",
+ "instance" : "0x5678",
+ "reliable" : { "port" : "30509", "enable-magic-cookies" : "false" },
+ "events" :
+ [
+ {
+ "event" : "0x8777",
+ "is_field" : "false",
+ "is_reliable" : "true",
+ "update-cycle" : "2000"
+ },
+ {
+ "event" : "0x8778",
+ "is_field" : "true",
+ "is_reliable" : "true",
+ "update-cycle" : "0"
+ },
+ {
+ "event" : "0x8779",
+ "is_field" : "false",
+ "is_reliable" : "true"
+ }
+ ],
+ "eventgroups" :
+ [
+ {
+ "eventgroup" : "0x4455",
+ "events" : [ "0x8777", "0x8778" ]
+ },
+ {
+ "eventgroup" : "0x4465",
+ "events" : [ "0x8778", "0x8779" ]
+ },
+ {
+ "eventgroup" : "0x4555",
+ "events" : [ "0x8777", "0x8779" ]
+ }
+ ]
+ },
+ {
+ "service" : "0x1235",
+ "instance" : "0x5678",
+ "unreliable" : "30509",
+ "multicast" :
+ {
+ "address" : "224.225.226.234",
+ "port" : "32344"
+ }
+ }
+ ],
+ "routing" : "service-sample",
+ "service-discovery" :
+ {
+ "enable" : "true",
+ "multicast" : "224.244.224.245",
+ "port" : "30490",
+ "protocol" : "udp",
+ "initial_delay_min" : "10",
+ "initial_delay_max" : "100",
+ "repetitions_base_delay" : "200",
+ "repetitions_max" : "3",
+ "ttl" : "3",
+ "cyclic_offer_delay" : "2000",
+ "request_response_delay" : "1500"
+ }
}