• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "unicast" : "10.0.3.1",
3    "logging" :
4    {
5        "level" : "debug",
6        "console" : "true",
7        "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
8        "dlt" : "false"
9    },
10    "applications" :
11    [
12        {
13            "name" : "service-sample",
14            "id" : "0x1277"
15        }
16    ],
17    "services" :
18    [
19        {
20            "service" : "0x1234",
21            "instance" : "0x5678",
22            "reliable" : { "port" : "30509", "enable-magic-cookies" : "false" }
23        },
24        {
25            "service" : "0x1235",
26            "instance" : "0x5678",
27            "unreliable" : "30509",
28            "multicast" :
29            {
30                "address" : "224.225.226.234",
31                "port" : "32344"
32            }
33        }
34    ],
35    "security" :
36    {
37        "check_credentials" : "true",
38        "policies" :
39        [
40            {
41                "client" : "0x1277",
42                "credentials" : { "uid" : "1000", "gid" : "1000" },
43                "allow" :
44                {
45                    "offers":
46                    [
47                        {
48                            "service"  : "0x1234",
49                            "instance" : "0x5678"
50                        },
51                        {
52                            "service"  : "0x1235",
53                            "instance" : "0x5678"
54                        }
55                    ]
56                }
57            },
58            {
59                "client" : { "first" : "0x1343", "last" : "0x1346" },
60                "allow" :
61                {
62                    "requests":
63                    [
64                        {
65                            "service"  : "0x1234",
66                            "instance" : "0x5678"
67                        }
68                    ]
69                }
70            }
71        ]
72    },
73    "routing" : "service-sample",
74    "service-discovery" :
75    {
76        "enable" : "true",
77        "multicast" : "224.244.224.245",
78        "port" : "30490",
79        "protocol" : "udp",
80        "initial_delay_min" : "10",
81        "initial_delay_max" : "100",
82        "repetitions_base_delay" : "200",
83        "repetitions_max" : "3",
84        "ttl" : "3",
85        "cyclic_offer_delay" : "2000",
86        "request_response_delay" : "1500"
87    }
88}
89