COVESA / COVESA/vsomeip

[BUG]: Supporting multiple versions of the same service (PRS_SOMEIPSD_00512).

Open
#797 62 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
1.4k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.