[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Newbie advice request

From: mcondarelli
Subject: Re: [lwip-users] Newbie advice request
Date: Tue, 18 Oct 2011 00:19:51 +0200 (CEST)


I had a look to the code.

I assume You refer to httpserver_raw (available in contrib-1.4.0), right?

Generating dynamic pages shouldn't be a huge problem, but I am a bit baffled by 
the POST handling.
I understand I have to implement "err_t httpd_post_receive_data(void 
*connection, struct pbuf *p)", but it's unclear to me how data is encoded in 

This is not really urgent since I'm still struggling to compile & run lwIP core 
onto my hardware, but I would be very grateful if You can point me in the right 

Thanks and
Best Regards

----- Messaggio originale -----
> address@hidden wrote:
> > I understand lwIP webserver is essentially static and thus useless
> > to implement a configuration menu.
> By now, the lwIP server can handle SSI, CGI and POST, so it is
> perfectly
> fit for a web-based configuration menu (which is what I use it for,
> anyway). Unfortunately, I haven't yet found the time to add an example
> how to use it (although CGI and SSI are pretty much self-explaining).
> > Any different approach would be welcome; constraints are it should
> > be small, allow a very limited set of mask elements (checkbox, fixed
> > combo selector, textedit), text-mode menus are ok.
> You can implement all that using the lwIP webserver. There's no
> toolkit-like help (or ready-to-use code), but you can implement check
> boxes, combo boxes and edit fields using SSI (server can device which
> checkbox is ticked) and CGI or POST (for the server to receive
> submited
> input data), you only have to build the web pages on your own.
> Simon
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]