控制连接到com端口的硬件 [英] controlling a hardware connected to a com port
问题描述
Possible Duplicate:
i want to make a web site which is able to control a hardware on a clients computer.
- 例如,硬件是简单的gsm调制解调器
-
使用与其连接的计算机控制此硬件.
control this hardware using the computer the hardware is connected to.
这是一个普遍的问题,用于询问以下的方法和意见
this is a general question, for asking of methods and opinions as for the following
使用另一台计算机通过网络控制此硬件
control this hardware using another computer over a network
使用网站应用程序或简单网站控制此硬件
control this hardware using a web site application or a simple web site
要考虑的事情->这是一个类组项目,我们在c#asp.net中实现.
the thing to consider --> this is a class group project which we implement in c# asp.net.
希望缩小范围.
假定我的计算机的comm端口上连接了一个遥控器,该遥控器可以控制一辆小型汽车.
assume there is a remote control attached to the comm port of my computer, which controls a small car.
我希望世界各地的用户都可以使用那里的键盘来移动汽车.
i want user around the world to be able to move the car using there keyboard.
我可以编写一个桌面应用程序来使用打印机端口控制远程,但是那仅在我的本地主机上.
i can write a desktop app to control the remote using the printer port but thats on my local host only.
获得要点 /?
thanku
推荐答案
The task you want to do sounds similar to the following http://www.lss.hr/RCcar/en/documentation.html although they have implemented it using PHP, JavaScript and C. The source code and documentation is available which should provide you with a good starting point.
在服务器端控制汽车的代码将类似于桌面应用程序,您只需在用户单击网页上的链接时向汽车发送命令即可.
The code to control the car on the server side will be similar to that of desktop app you would just send commands to the car when a user clicks a link on the web page.
这篇关于控制连接到com端口的硬件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!