Giter VIP home page Giter VIP logo

Comments (6)

Billkouts96 avatar Billkouts96 commented on September 17, 2024 1

Hello KudoWu,
As I can see from your configuration, it seems that you define both unreliable(UDP) and reliable ports (TCP).
You can try, remove 'unreliable' and hopefully will work.

from vsomeip.

KudoWu avatar KudoWu commented on September 17, 2024

I also try to use someip-tp, but it has the smae problem.

    "services": [
        {
            "service": "0x80e9",
            "instance": "0x814e",
            "unreliable": "30510",
            "events": [{
                "event": "0x80fe",
                "is_field": "false",
                "is_reliable": true
            }],
            "someip-tp": {
                "service-to-client": [ "0x80e9", "0x80fe"]
            }
        }
    ],

from vsomeip.

lutzbichler avatar lutzbichler commented on September 17, 2024

Unfortunately, you provide zero information on what you actually do. Did you set the reliable flag on the message you are trying to send (message_base::set_reliable or at creation time)?

from vsomeip.

KudoWu avatar KudoWu commented on September 17, 2024

Hello KudoWu, As I can see from your configuration, it seems that you define both unreliable(UDP) and reliable ports (TCP). You can try, remove 'unreliable' and hopefully will work.

Hello, Billkouts96
Thank you for your help! Actually, I have tried to remove 'unreliable' , but I had the other problem:

2024-08-30 19:50:00.692114 [info] endpoint_manager_impl::create_remote_client: 192.168.3.208:30501 reliable: 1 using local port: 0
2024-08-30 19:50:00.739588 [warning] create_eventgroup_entry: Cannot create subscription as unreliable endpoint is zero: [80e9.814e.80fc]
2024-08-30 19:50:00.741354 [warning] create_eventgroup_entry: Didn't insert subscription as subscription doesn't match reliability type: [80e9.814e.80fc] 2
2024-08-30 19:50:00.689206 [warning] create_eventgroup_entry: Cannot create subscription as unreliable endpoint is zero: [80e9.814e.80fc]
2024-08-30 19:50:00.691456 [warning] create_eventgroup_entry: Didn't insert subscription as subscription doesn't match reliability type: [80e9.814e.80fc] 2
2024-08-30 19:50:00.686764 [warning] create_eventgroup_entry: Cannot create subscription as unreliable endpoint is zero: [80e9.814e.80fc]
2024-08-30 19:50:00.689158 [warning] create_eventgroup_entry: Didn't insert subscription as subscription doesn't match reliability type: [80e9.814e.80fc] 2
2024-08-30 19:50:01.433518 [info] REMOTE SUBSCRIBE(0000): [80e8.814d.80fc] from 192.168.3.208:35097 reliable was accepted

from vsomeip.

KudoWu avatar KudoWu commented on September 17, 2024

Unfortunately, you provide zero information on what you actually do. Did you set the reliable flag on the message you are trying to send (message_base::set_reliable or at creation time)?
I'm sorry. Actually, I don't find any interface that I can set reliable.
Here's your response refined in English:

Hello, lutzbichler, thank you for being willing to help me!

I'm very sorry for not providing enough information earlier. First, I would like to clarify that I am using CommonAPI C with SomeIP+ vsomeip, and I am trying to transmit large amounts of data within the PublishEvent. I haven't found any interface to set the reliable flag. I'm wondering if there's a significant difference in how the reliable flag is handled between CommonAPI C SomeIP and the standard vsomeip interfaces.

Additionally, I noticed in the "CommonAPI-C---SomeIP-in-10-minutes" example that the method can have SomeIpReliable = true set in the fdepl file. So, I added a similar configuration in my own fdepl file:

define org.genivi.commonapi.someip.deployment for interface xxxxx {
    SomeIpServiceID = 33001

    broadcast FirmwarePublish {
        SomeIpEventID = 33021
        SomeIpEventGroups = { 33020 } 
        SomeIpReliable = true
    }
}

That's great! I can use tcp transport large data. So, if there are other methods to set_reliable in CommonAPI C SomeIP? Thank you!

from vsomeip.

lutzbichler avatar lutzbichler commented on September 17, 2024

If you deploy your broadcast to be reliable ("SomeIpReliable = true") CommonAPI will do the setting of the reliable flag in vsomeip for you. Setting the flag manually only is needed if you use the vsomeip API.

As I think the problem is solved, I will close the issue.

from vsomeip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.