Commit Graph

19 Commits (3790907f4d302e956bea30a261a72411c98a0d60)

Author SHA1 Message Date
Dean Camera 42b850f2b9 Use a temporary variable to hold the current URI length in the Webserver, rather than calling strlen() multiple times on an unchanged buffer. Clean up uip-split.c.
15 years ago
Dean Camera 3b6987bca3 Add uIP-split code to the Webserver project, so that each packet is split in half to avoid the delayed-ACK problem when communicating with other devices. Condense HTTP server code, so that the HTTP headers are all sent from the one state. Make default filename append to any directory URI, rather than just the root directory.
15 years ago
Dean Camera c6f21fde62 Speed up Webserver demo data rate by not sending a full ethernet frame each time, preventing the receiver from using a delayed ACK scheme which slows down the connection. TELNET server cleanup.
15 years ago
Dean Camera 8154331da6 Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files.
15 years ago
Dean Camera 41ef05a6e5 Fix DHCPClient init code in the Webserver project writing to the incorrect application state location (thanks to Mike Alexander).
15 years ago
Dean Camera 1fdc0e664e Make Webserver allow HTTP requests for files with up to 50 characters in the path instead of 30, to be in synch with the project documentation.
15 years ago
Dean Camera f4f44f9fc1 Re-add Webserver uIP application polling, apply patch to uIP by Andrew Ruder to fix corrupt TCP streams when multiple applications are used and the applications are polled for more data.
15 years ago
Dean Camera 16ea5aa7a2 Add a TELNET server to the webserver project, which currently can list active TCP connections.
15 years ago
Dean Camera 08e8d6393e Exclude FATFs from the Webserver project documentation. Rename the functions in the HTTPServerApp.c/.h files so that they use the correct "HTTPServerApp_" prefix, and not "Webserver_".
15 years ago
Dean Camera f979fd36be Remove now unused conf directory from the uIP stack in the Webserver project.
15 years ago
Dean Camera 84e1241f80 Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
15 years ago
Dean Camera bb1a036f09 Clean up HTTP webserver code in the Webserver project, so that it follows the uIP application structure guidelines and uses cleaner state machine based code.
15 years ago
Dean Camera 97f7cd947b Better HTTP GET parsing in the Webserver demo, add application polling.
15 years ago
Dean Camera e8b8ed2bad Add TCP retransmission support to the HTTP webserver in the Webserver project, so that lost segments are retransmitted as needed.
15 years ago
Dean Camera fa3135d485 Add MIME type handling to the Webserver project, so that files of different types (e.g. images) can be served out to HTTP clients.
15 years ago
Dean Camera d11ed10c53 Add FatFS library to the Webserver project, extend the HTTP server so that it now serves files from the Dataflash. Add Mass Storage device mode class driver so that files can be loaded to the board Dataflash when inserted into a PC.
15 years ago
Dean Camera cec699ac59 Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines.
15 years ago
Dean Camera a960e4b3b2 Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
15 years ago
Dean Camera 15c408ab86 Moved initial completed version of the Webserver project out of the Projects/Incomplete directory.
15 years ago