Hi there,
I was wondering:
The manual of easyweb says that it is only possible to get 1 webpage from the server.
Is it possible to change the (only in main.c) that easyweb does send more than 1 webpage
(using links). When a client clicks on a link the http protocol sends a get message to the
file he needs. If I change the main to listen to this message and send the right page.
Does somebody knows if this works?
Also the documentation says it doesn't support POST messages. Can I easily change the main
to also listen to POST messages or is it completely impossibele.
Let me explain my purpose:
I want to open a webpage that makes me possible to change outputs of the microcontroller.
Every page controls the right output.
ex: led.html changes the led states, adc.html reads the adc state,...
All these pages have a link on index.html.
Can somebody give the answer. I don't want to waist any effort. And also I'm writing
software before the board is developed.
Thank you,
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Giuseppe wrote:
> Hi there,
>
> I was wondering:
> The manual of easyweb says that it is only possible to get 1 webpage from the server.
>
> Is it possible to change the (only in main.c) that easyweb does send more than 1 webpage
(using links). When a client clicks on a link the http protocol sends a get message to the
file he needs. If I change the main to listen to this message and send the right page.
Does somebody knows if this works?
>
> Also the documentation says it doesn't support POST messages. Can I easily change the
main to also listen to POST messages or is it completely impossibele.
>
> Let me explain my purpose:
> I want to open a webpage that makes me possible to change outputs of the
microcontroller. Every page controls the right output.
> ex: led.html changes the led states, adc.html reads the adc state,...
> All these pages have a link on index.html.
>
> Can somebody give the answer. I don't want to waist any effort. And also I'm writing
software before the board is developed.
>
> Thank you,
Don't know about EasyWEB, but I have done this using uIP quite easily.
I think the FreeRTOS download even has an example where you can write to
the LCD and turn LEDs on and off through the WEB interface on an LPC23xx
and LPC17xx.
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.SafeRTOS.com
Certified by TÜV as meeting the requirements for safety related systems.
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )