通过wifi进行android通信

编程入门 行业动态 更新时间:2024-10-27 20:37:23
本文介绍了通过wifi进行android通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我去了一个应用程序android程序,在这个应用程序中我必须使用我的设备的wifi通信(三星ace 2)与另一个设备(plc,...)进行通信但是在modbus protocole中,

I went programme an application android , in this application i must use communication via wifi of my device( samsung ace 2) for communicate with another device(plc,...) but in modbus protocole ,

推荐答案

您好, 您可以做的就是在服务器或PC上安装TCP服务器并让您的移动通话通过wi-fi到这个服务器,然后这个服务器通过线路使用modbus协议与plc通信。我无法评论通过Wi-Fi直接与PLC通信,因为它完全取决于您使用的SPECIFIC设备。 问候, Hello, What you can definitely do is to have a TCP server on your server or PC and let your mobile talk to this server over wi-fi and this server then comunicates with the plc using modbus protocol over wire. I can''t really comment on directly communicating with PLC over wi-fi as it completely depend on the SPECIFIC device you are using. regards,

我在想通过wifi与模块进行通信,然后通过Modbus protocole从这个模块与plc进行通信,这是通过无线直接通信的好方法。 I am thinking that communicate over wifi with a module , then communicate with plc from this module with Modbus protocole , it''s a good solution for directly communication via wireless.

更多推荐

通过wifi进行android通信

本文发布于:2023-11-23 14:25:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1621767.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:通信   wifi   android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!