0

I have an microprocessor which I can control through a raw tcp socket. I can control the device through a desktop application, but I now want to be able to control it via the web. I've done lots of reading but I'm struggling to find the best method to do this. So far it seems creating a socket server in a webserver such as Tomcat or Jetty is the best option. When the user clicks a button the command is then sent to the micro processor. Is this a viable approach or are there better methods?

It is important that the system is very responsive, in other words, when the user clicks a button on the web page, the microprocessor must receive it as soon possible.

4

1 回答 1

0

imo ...分开你的担忧

首先编写代码,以通常有用的方式使用微处理器实现您想要的行为,然后插入您想要的任何类型的控制器,无论是网页、junit 测试、命令行界面等等。

于 2012-08-14T13:32:36.677 回答