VSOMEIP communication between senders and receivers running in different machines #595
Unanswered
srchaitu2008
asked this question in
Q&A
Replies: 1 comment
-
Can anyone guide on this please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are 2 different SOMEIP senders SineSender and RandSender and corresponding SOMEIP receivers SineReceiver and RandReceiver. The VSOMEIP library version is 3.1.20.3 and the senders are run in one machine (say Machine1), the receivers are run in a different machine(say Machine2) (Machine1 and Machine2 are in the same subnet)
The SOMEIP communication between sender and receiver works fine when only one sender and receiver is run. For example, when SineSender and SineReceiver are run in Machine1 and Machine2 respectively, the communication works as expected.
However, when I try to run the two senders(SineSender, RandSender in Machine1) at the same time and two receivers(SineReceiver, RandReceiver in Machine2) at the same time, only the receiver corresponding to the sender which was started first is able to receive data, the other receiver does not receive the data sent by its sender.
Command used to start SineSender and RandSender on Machine1:
VSOMEIP_CONFIGURATION=./VSomeIPConfig_SineSender.json VSOMEIP_APPLICATION_NAME=SineSender ./SineSender
VSOMEIP_CONFIGURATION=./VSomeIPConfig_RandSender.json VSOMEIP_APPLICATION_NAME=RandSender ./RandSender
Command used to start SineReceiver and RandReceiver on Machine2:
VSOMEIP_CONFIGURATION=./VSomeIPConfig_SineReceiver.json VSOMEIP_APPLICATION_NAME=SineReceiver ./SineReceiver
VSOMEIP_CONFIGURATION=./VSomeIPConfig_RandReceiver.json VSOMEIP_APPLICATION_NAME=RandReceiver ./RandReceiver
For clarity, if SineSender is started first and RandSender is started second, then only SineReceiver is able to receive the data. RandReceiver is not able to receive the data sent by RandSender.
Attached are the VSOMEIP Configuration files of the senders and receivers.
My query is that is this the expected behaviour, or is it a limitation with the vsomeip library or is there any issue with the VSOMEIP configuration files?
VSomeIPConfig_RandSender.json
VSomeIPConfig_SineReceiver.json
VSomeIPConfig_SineSender.json
VSomeIPConfig_RandReceiver.json
Beta Was this translation helpful? Give feedback.
All reactions