vsomeip-local-tcp-client.json 2.14 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
{
    "unicast" : "192.168.56.101",
    "netmask" : "255.255.255.0",
    "logging" : 
    {
        "level" : "info",
        "console" : "true",
        "file" : { "enable" : "true", "path" : "/var/log/vsomeip.log" },
        "dlt" : "true"
    },
    "applications" :
    [
        {
            "name" : "client-sample",
            "id" : "0x1343"
        },
        {
            "name" : "second-client-sample",
            "id" : "0x1344"
        },
        {
            "name" : "third-client-sample",
            "id" : "0x1345"
        },
        {
            "name" : "fourth-client-sample",
            "id" : "0x1346"
        }
    ],
    "services" : 
    [
        {
            "service" : "0x1234",
            "instance" : "0x5678",
            "unicast" : "192.168.56.102",
            "reliable" : { "port" : "30509", "magic-cookies" : false },
            "events" : 
            [
                {
                    "event" : "0x0777",
                    "is_field" : "true"
                },
                {
                    "event" : "0x0778",
                    "is_field" : "false"
                },
                {
                    "event" : "0x0779",
                    "is_field" : "true"
                }
            ],
            "eventgroups" :
            [
                {
                    "eventgroup" : "0x4455",
                    "events" : [ "0x777", "0x778" ] 
                },
                {
                    "eventgroup" : "0x4465",
                    "events" : [ "0x778", "0x779" ] 
                },
                {
                    "eventgroup" : "0x4555",
                    "events" : [ "0x777", "0x779" ] 
                }
            ]
        }
    ],
    "routing" : "client-sample",
    "service-discovery" :
    {
        "enable" : "true",
        "multicast" : "224.0.0.1",
        "port" : "30491",
        "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"
    }
}