Comments (6)
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.
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.
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.
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.
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.
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)
- [QUERY]: local_uds_client_endpoint_impl::receive_cbk Error: End of file
- [BUG]: <title> HOT 2
- [BUG]: Crash of RoutingManagerd version 3.4.10 HOT 2
- Someip sd communication issue when using ipv6 HOT 3
- No communication between the Ubuntu PC and IMX93 devices HOT 9
- [BUG]: possible double free on app_->stop()
- [BUG]: Missing TP segments corrupt all following TP messages HOT 1
- [BUG]: Facing an issue in while communicating between host and virtual machine HOT 2
- [BUG]: debounce_timeout compare different iterators HOT 1
- Client not receiving the Multiple response from the server for single request. HOT 3
- HELP: Routing error between two Raspberry Pis HOT 4
- [BUG]: Not able to establish communication between two Linux systems using Service Discovery HOT 2
- [BUG]: <Multiple apps simultaneously send TP messages, resulting in TP message disorder and packet loss> HOT 3
- [BUG]: Find Service with multicast enabled, vsomeip stack always send unicast offer service HOT 1
- [BUG]: <title>vsomeip protocol stops after a period of time(stress test)
- [BUG]: <title>[warning] create_eventgroup_entry: Cannot create subscription as local unreliable port is zero: [0102.0001.1102] HOT 6
- [BUG]: <title>Compilation issue while building the code on Android 14 HOT 2
- [BUG]: Compiler error on Ubuntu 20.04 due the missing vector header HOT 3
- [BUG]: No "set_protocol_version()" API found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsomeip.