I have recently tried to run the [[/users/donatien/programs/HTTPServerExample/latest|HTTPServerExample], as it comes on top of the mbed Cookbook. But this example does not work for me. I mean, the program shows some parts of a basic HTML, but it takes forever and it eventually hangs, because the LED1 stops blinking.
At this point I want to mention that I'm using correct hardware Ethernet connection (mbed on top of the breakout board from collcomponents.co.uk) and I'm only using 8.3 file names. My sample website copied to the mbed file system consists of three *.htm files, a few images (*.gif, *.jpg), and a style sheet (*.css). This same website displays correctly with some other lwIP implementation on an ARM Cortex-M3 board (see http://www.state-machine.com/lwip).
My question to the community is how well the HTTPServerExample works for others. I would appreciate any examples of sample websites people are using and screen shots of the served web pages.
My test website is included here:
/media/uploads/QL/httpserverexample_website.zip
This is what I get from the HTTPServerExample:
And this is what I get from a properly working HTTP server also based on the lwIP stack:
I have recently tried to run the [[/users/donatien/programs/HTTPServerExample/latest|HTTPServerExample], as it comes on top of the mbed Cookbook. But this example does not work for me. I mean, the program shows some parts of a basic HTML, but it takes forever and it eventually hangs, because the LED1 stops blinking.
At this point I want to mention that I'm using correct hardware Ethernet connection (mbed on top of the breakout board from collcomponents.co.uk) and I'm only using 8.3 file names. My sample website copied to the mbed file system consists of three *.htm files, a few images (*.gif, *.jpg), and a style sheet (*.css). This same website displays correctly with some other lwIP implementation on an ARM Cortex-M3 board (see http://www.state-machine.com/lwip).
My question to the community is how well the HTTPServerExample works for others. I would appreciate any examples of sample websites people are using and screen shots of the served web pages.
My test website is included here: /media/uploads/QL/httpserverexample_website.zip
This is what I get from the HTTPServerExample:
And this is what I get from a properly working HTTP server also based on the lwIP stack: