controlling a hardware connected to a com port [duplicate]

痞子三分冷 提交于 2020-01-06 07:25:26

问题


Possible Duplicate:
i want to make a web site which is able to control a hardware on a clients computer.

  • the the hardware for example be a simple gsm modem

this is a general question, for asking of methods and opinions as for the following

  • control this hardware using the computer the hardware is connected to.

  • control this hardware using another computer over a network

  • control this hardware using a web site application or a simple web site

the thing to consider --> this is a class group project which we implement in c# asp.net.

edit

hope the broadness is narrowed down.

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.

get the point /?

thanku


回答1:


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.



来源:https://stackoverflow.com/questions/4478344/controlling-a-hardware-connected-to-a-com-port

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