Updating variables in web pages

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Updating variables in web pages

跳至解决方案
829 次查看
utsavikalpesh
Contributor V

Hi All,

I am using MQX 4.0 and created a project which is a small copy of web-hvac demo running perfectly.Now moving to the next step I connected RS-485 which is communicating to module TWR-K60D100M and I need to send the data coming from RS-485 to web pages which is continuously updating.Can any one have an idea what i need to do??Plz answer me as soon as possible........:smileyconfused::smileyconfused::smileyconfused:

标记 (5)
0 项奖励
回复
1 解答
691 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Utsavi,

have you seen httpsrv example in MQX installation?

C:\Freescale\Freescale_MQX_4_0\rtcs\examples\httpsrv

The RTC does what you want to do with UART, here you can see how the RTC is running and the server is being updated with RTC data. In the other way, you can also see that the webserver retrieves data from the client when the client clicks the buttons in the webpage to toggle the on board LEDs.

All this is done with CGI.

Hope this helps!

Carlos

在原帖中查看解决方案

0 项奖励
回复
3 回复数
692 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Utsavi,

have you seen httpsrv example in MQX installation?

C:\Freescale\Freescale_MQX_4_0\rtcs\examples\httpsrv

The RTC does what you want to do with UART, here you can see how the RTC is running and the server is being updated with RTC data. In the other way, you can also see that the webserver retrieves data from the client when the client clicks the buttons in the webpage to toggle the on board LEDs.

All this is done with CGI.

Hope this helps!

Carlos

0 项奖励
回复
691 次查看
utsavikalpesh
Contributor V

Hi Carlos,

Thnx for the reply.I have seen and did it and it is working perfectly.:smileyhappy::smileyhappy:

0 项奖励
回复
691 次查看
utsavikalpesh
Contributor V

Hi Carlos,

Can I get some documents which can explain the functions used in Web HVAC or httpsrv demo??

0 项奖励
回复