• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "unicast" : "10.0.3.1",
3    "logging" :
4    {
5        "level" : "info",
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            "name" : "client-sample",
18            "id" : "0x1344"
19        }
20    ],
21    "security" :
22    {
23        "check_credentials" : "true",
24        "policies" :
25        [
26            {
27                "client" : "0x1277",
28                "credentials" : { "uid" : "1000", "gid" : "1000" },
29                "allow" :
30                {
31                    "offers":
32                    [
33                        {
34                            "service"  : "0x1234",
35                            "instance" : "0x5678"
36                        },
37                        {
38                            "service"  : "0x1235",
39                            "instance" : "0x5678"
40                        }
41                    ]
42                }
43            },
44            {
45                "client" : "0x1344",
46                "credentials" : { "uid" : "1000", "gid" : "1000" },
47                "allow" :
48                {
49                    "requests":
50                    [
51                        {
52                            "service"  : "0x1234",
53                            "instance" : "0x5678"
54                        }
55                    ]
56                }
57            }
58        ]
59    },
60    "routing" : "service-sample",
61    "service-discovery" :
62    {
63        "enable" : "true",
64        "multicast" : "224.244.224.245",
65        "port" : "30490",
66        "protocol" : "udp",
67        "initial_delay_min" : "10",
68        "initial_delay_max" : "100",
69        "repetitions_base_delay" : "200",
70        "repetitions_max" : "3",
71        "ttl" : "3",
72        "cyclic_offer_delay" : "2000",
73        "request_response_delay" : "1500"
74    }
75}
76