-
Notifications
You must be signed in to change notification settings - Fork 712
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
When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast. #763
base: master
Are you sure you want to change the base?
Conversation
the initial event sent for client 2 is always multicast rather than unicast. Signed-off-by: Vignesh MURUGAPPAN <[email protected]>
@Vignesh-Murugappan if you read here: https://github.com/COVESA/vsomeip/blob/637fb6ccce969f89621660dd481badb29a90d661/documentation/vsomeipUserGuide#L662C1-L669C53
|
**Yes, you're correct. When the threshold is set to 1, the expectation is that all events should be multicast. However, no initial event is sent. According to PRS_SOMEIPSD_00487, an initial event should be sent to subscribers immediately after subscription acknowledgment for all new subscriptions. If a subscription is already active and is subsequently updated by a Subscribe Eventgroup entry, no initial events should be dispatched. In my case, when the threshold is set to 1, the initial event is received by the first subscriber but not by the second. In summary, when the threshold is 'N', initial events are sent to all 'N' subscribers, but not to the 'N+1'-th subscriber and so on. With the proposed change, the behavior aligns with expectations, and there are no issues observed with multicast or unicast behavior regardless of whether the threshold is set or not.** |
@duartenfonseca Thanks for your comment. Understand that this threshold parameter does not influence the working of initial event functionality i.e. initial event should be always over unicast. |
When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast.