SOME/IP和VSOMEIP-2个设备之间的通信(TCP/UDP)不起作用 [英] SOME/IP and VSOMEIP - Communication between 2 devices (TCP/UDP) Not working

查看:2559
本文介绍了SOME/IP和VSOMEIP-2个设备之间的通信(TCP/UDP)不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究Franca IDL,并尝试实现SOME/IP两台设备的通信.我指的是以下链接:

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

当前设置:

Ubuntu 18.04(两台计算机-服务器和客户端) 两台通过以太网连接的机器

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

但是实际上我对SOME/IP和VSOME/IP感到困惑.无论如何,我使用链接[1]都可以实现在单个本地计算机上运行的进程之间的通信.我在两个2设备通信中失败.

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.

稍后,我在链接[2]中也遵循了同样的方法,但是即使在这里,我仍然能够实现在单个本地计算机上运行的进程之间的通信.我在两台2设备通信中失败了,但是服务器在一台设备上运行,而客户端在另一台设备上运行,但是没有实现通信.

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.

我遇到了 VSOMEIP-2台设备之间的通信( TCP/UDP)在此处不起作用,但无法获取进一步的操作方法.

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

我的实际目标是使用Franca IDL和SOME/IP即链接[1]实现两个设备的通信.但是我找不到任何单一来源,因此至少可以调查一下.

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.

推荐答案

现在工作了几个小时后,正如 https://at .projects.genivi.org/wiki/pages/viewpage.action?pageId = 5472320 ),on_availability有效,但on_message不起作用.我们在挣扎很多.任何建议都会对我们有很大帮助.

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.

这篇关于SOME/IP和VSOMEIP-2个设备之间的通信(TCP/UDP)不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆