uIP - Retrieving data from the webpage

Hello.

I’ve got uIP (TCP/IP stack + HTTP server) running on FreeRTOS and STR912-based board. I want to implement simple control over board via WWW page. I know from uIP examples how to display some data from board on the html page. I’ve got a problem how to do this in the other way - how to change, for example, LED state according to checkbox on the webpage. Could some help me with that?

Web resources are also welcomed.

Thanks in advance,

mackie

Hi Mackie,

I’m working on a similar project, but using ARM. I’ve had some difficulty with the uIP stack. The data pointers are some how corrupted when compiling with the Keil toolset. Any ways, I’ve found the TCP Lean book has some simple examples on how to control HW resources. Here is a link to the book.

http://www.iosoft.co.uk/tcplean.php

Regards,

Jeremy

Hi

Check out also the uTasker project, which contains support for things like dynamic HTTP content generation, displaying and handling parameters (including HTTP post methods). It is available for several ARM processors (STR91XF, SAM7X, LPC23xx, LPC17XX, Luminary) as well as Coldfire and AVR32. Its simulator allows developing and testing the web interface in real time and so is more efficient than doing such work on a HW target.

As well as allowing web pages to be loaded via FTP or be embedded in code, it can serve them from a FAT32 formatted SD card (including long-file name support) connected via SPI. The SD card can also be simulated to make development simpler and more efficient.

Regards

Mark

[www.uTasker.com](http://www.uTasker.com)

jjlees:
Hi Mackie,

I’m working on a similar project, but using ARM. I’ve had some difficulty with the uIP stack. The data pointers are some how corrupted when compiling with the Keil toolset. Any ways, I’ve found the TCP Lean book has some simple examples on how to control HW resources. Here is a link to the book.

http://www.iosoft.co.uk/tcplean.php

Regards,

Jeremy

My ARM project uses an $18 WizNet 812MJ for the ethernet interface. The entire TCP/IP/ARP stack is on that module, a huge simplification. I use an SPI interface, low pin count.