HTTP implementation using UIP on AVR

Status
Not open for further replies.

yashmodi

Newbie level 6
Joined
Jul 28, 2005
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,400
using uip

i have ported uip 0.6 on an ATmega16 interfaced to a module similar to EDTP's packet whacker, utilizing RTL8019AS. I can ping the unit and also send data using TELNET. I now want to implement a webserver, which returns an updated webpage with latest temperature reading using the same uip stack (simple application to begin with). Later, i would like to control the I/O ports, using CGI programming.

But there is not enough documentation on serving a webpage using UIP, and i am not understanding the implementation of the webserver, from the included files like httpd.c, cgi.c , fsdata.c,fs.c ....

could neone guide me how should one go about serving a webpage....and if someone has ported the uip on an AVR & implemented a webserver...then please post the code.....

thnx a lot...
yash
 

uip httpd.c

I have done the same thing on UIP but on 8051. There are some bugs in 0.6 version. So first of all, I would advise you to upgrade to UIP0.9. This version has a much better documentation as well.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…