Commit Graph

20 Commits (7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd)

Author SHA1 Message Date
Dean Camera 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
15 years ago
Dean Camera aca7863350 Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.
15 years ago
Dean Camera 92418433a5 Fix incorrect LED mask name in the Webserver project.
15 years ago
Dean Camera ce260ae786 Webserver project now uses the board LEDs to indicate the current IP configuration state.
15 years ago
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 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 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 15f84bb8f5 New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
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 7d3ed40070 Fix TELNET server locking up if an invalid command was issued.
15 years ago
Dean Camera b9cf4815e5 Disable uIP connection polling for now - this seems to corrupt the buffers.
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 84e1241f80 Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
15 years ago
Dean Camera 1008260985 Make packet processing code in the Webserver project a bit neater using a switch statement instead of an if-else-if chain.
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 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