Updating variables in web pages

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Updating variables in web pages

Jump to solution
572 Views
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:

0 Kudos
1 Solution
434 Views
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

View solution in original post

0 Kudos
3 Replies
435 Views
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 Kudos
434 Views
utsavikalpesh
Contributor V

Hi Carlos,

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

0 Kudos
434 Views
utsavikalpesh
Contributor V

Hi Carlos,

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

0 Kudos