First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

I did not see traffic data on WireShark using Some/IP SD

Hello everybody I am working on the examples of Some/IP SD from COVESA (https://github.com/COVESA/vsomeip/tre...). I had wireshark on windows but I install WSL 2 (Ubuntu 20.04) to test the examples of Some/IP. The subscribe-notify example works correctly, the problem is that I did not see anything in Wireshark, the problem it could be on the .json file, I attatched the code, or maybe that I am running two machines,

{
"unicast" : "172.26.110.127",
"logging" :
{
    "level" : "debug",
    "console" : "true",
    "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
    "dlt" : "false"
},
"applications" :
[
    {
        "name" : "service-sample",
        "id" : "0x1277"
    },
    {
        "name" : "client-sample",
        "id" : "0x1344"
    }
],
"services" :
[
    {
        "service" : "0x1234",
        "instance" : "0x5678",
        "unreliable" : "30509",
        "multicast" :
        {
            "address" : "224.225.226.233",
            "port" : "32344"
        },
        "events" :
        [
            {
                "event" : "0x0777",
                "is_field" : "true",
                "update-cycle" : 2000
            },
            {
                "event" : "0x0778",
                "is_field" : "true",
                "update-cycle" : 0
            },
            {
                "event" : "0x0779",
                "is_field" : "true"
            }
        ],
        "eventgroups" :
        [
            {
                "eventgroup" : "0x4455",
                "events" : [ "0x777", "0x778" ]
            },
            {
                "eventgroup" : "0x4465",
                "events" : [ "0x778", "0x779" ],
                "is_multicast" : "true"
            },
            {
                "eventgroup" : "0x4555",
                "events" : [ "0x777", "0x779" ]
            }
        ]
    }
],
"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"
}

}

Could you please help me, if the problem is on the IP address or where adress should I use.

jlog's avatar
1
jlog
asked 2023-11-21 23:51:09 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Make sure to run Wireshark in the same context as you run this other code (which we know nothing about). Otherwise your capture setup will be an issue. You may very well not be able to get at the interface you need to successfully capture the traffic.

Jaap's avatar
13.7k
Jaap
answered 2023-11-22 10:32:28 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer