SOME/IP and VSOMEIP - Communication between 2 devices (TCP/UDP) Not working

别说谁变了你拦得住时间么 提交于 2020-02-06 07:58:16

问题


I am working on Franca IDL and trying to implement the SOME/IP two device communication. I am referring the below links:

  1. https://at.projects.genivi.org/wiki/pages/viewpage.action?pageId=5472320
  2. https://github.com/GENIVI/vsomeip/wiki/vsomeip-in-10-minutes#request

Current Setup:

Ubuntu 18.04 (two machines - Server & Client) Two Machines connected over ethernet

But am actually confused between SOME/IP and VSOME/IP. Anyhow I went with the link [1] I could able to achieve communication between the processes running on the single local machine. I failed in two 2 device communication.

Later I followed the same in in link [2] but even here I was able to achieve communication between the processes running on the single local machine. I failed in two 2 device communication but server was running in one device and client was running on another but no communication achieved.

I came across this VSOMEIP - Communication between 2 devices (TCP/UDP) Not working post here but couldn't get how to proceed further.

My actual aim is to achieve two device communication using Franca IDL and SOME/IP i.e link [1]. But I am not finding any single source so that I can at least look into it.

Any suggestions will help me a lot. Thanks in advance.


回答1:


After working for few hours now the quick update is, As suggested in the VSOMEIP - Communication between 2 devices (TCP/UDP) Not working I used the shell script now the client and server are detecting each other over ethernet. But the function call is not happening. Client is not sending the request to the server. To be more clear in the given example (https://at.projects.genivi.org/wiki/pages/viewpage.action?pageId=5472320) the on_availability is working but on_message is not working. We are struggling a lot. Any suggestion will help us a lot.



来源:https://stackoverflow.com/questions/59769462/some-ip-and-vsomeip-communication-between-2-devices-tcp-udp-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!