Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFO]: Supporting multiple versions of the same service (PRS_SOMEIPSD_00512). #797

Open
zhaoxin39913 opened this issue Oct 26, 2024 · 0 comments
Labels

Comments

@zhaoxin39913
Copy link

vSomeip Version

v3.4.10

Boost Version

1.7.6

Environment

Ubuntu 20.04

Describe the bug

Hi vsomeip experts,

One issue I would like to check with you guys.
 
In order to support multiple versions of the same service (defined in SOME/IP SD spec PRS_SOMEIPSD_00512), there could be multiple services offered with the same serviceID and instanceID but different major versions within a network. Using API request_service(serviceId, instanceId, ANY_MAJOR) should be able to find all services with different major versions for a given serviceID/instanceID pair. Next are_available() API should be able to retrieve all those major versions.

The problem is how does availability_handler() get triggered when those services with different major versions are detected, since only the serviceID and instanceID is passing to the handler without major version.

This is one of our customer user case, what's the solution do you suggest to handle it in our application?

Reproduction Steps

N/A

Expected behaviour

N/A

Logs and Screenshots

N/A

@zhaoxin39913 zhaoxin39913 changed the title [BUG]: <title>Supporting multiple versions of the same service. [BUG]: <title>Supporting multiple versions of the same service (PRS_SOMEIPSD_00512). Nov 4, 2024
@zhaoxin39913 zhaoxin39913 changed the title [BUG]: <title>Supporting multiple versions of the same service (PRS_SOMEIPSD_00512). [BUG]: Supporting multiple versions of the same service (PRS_SOMEIPSD_00512). Nov 4, 2024
@zhaoxin39913 zhaoxin39913 changed the title [BUG]: Supporting multiple versions of the same service (PRS_SOMEIPSD_00512). [INFO]: Supporting multiple versions of the same service (PRS_SOMEIPSD_00512). Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant