summaryrefslogtreecommitdiff
path: root/config/vsomeip-magic-cookies-service.json
diff options
context:
space:
mode:
Diffstat (limited to 'config/vsomeip-magic-cookies-service.json')
-rw-r--r--config/vsomeip-magic-cookies-service.json57
1 files changed, 46 insertions, 11 deletions
diff --git a/config/vsomeip-magic-cookies-service.json b/config/vsomeip-magic-cookies-service.json
index ca73fe0..97f7106 100644
--- a/config/vsomeip-magic-cookies-service.json
+++ b/config/vsomeip-magic-cookies-service.json
@@ -1,13 +1,13 @@
{
- "unicast" : "192.168.56.102",
+ "unicast" : "192.168.56.101",
"logging" :
{
- "level" : "trace",
+ "level" : "debug",
"console" : "true",
- "file" : { "enable" : "false", "path" : "/var/log/vsomeip.log" },
+ "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
"dlt" : "false"
},
- "applications" :
+ "applications" :
[
{
"name" : "service-sample",
@@ -16,33 +16,68 @@
],
"servicegroups" :
[
- {
+ {
"name" : "default",
+ "unicast" : "local",
"delays" :
{
- "initial" : { minimum : "10", maximum : "100" },
+ "initial" : { "minimum" : "10", "maximum" : 100 },
"repetition-base" : "200",
"repetition-max" : "3",
"cyclic-offer" : "2000",
"cyclic-request" : "2001"
},
- "services" :
+ "services" :
[
{
"service" : "0x1234",
"instance" : "0x5678",
- "reliable" : { "port" : "30511", "magic-cookies" : "true" },
+ "reliable" : { "port" : "30509", "enable-magic-cookies" : "true" },
+ "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" ]
+ }
+ ]
}
]
}
],
"routing" : "service-sample",
- "service-discovery" :
+ "service-discovery" :
{
"enable" : "false",
- "multicast" : "224.244.224.245",
+ "multicast" : "224.0.0.1",
"port" : "30490",
"protocol" : "udp"
}
}
-