aboutsummaryrefslogtreecommitdiff
path: root/Projects/Webserver/Lib
AgeCommit message (Collapse)Author
2010-04-18Add const keyword to the demo function parameters where possible.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1212 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-10Added ENABLE_TELNET_SERVER compile time option to the Webserver project to ↵Dean
disable the TELNET server if desired. Change over static strings in the Webserver project to use PROGMEM where possible. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1162 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-09Fix incorrect LED mask name in the Webserver project.Dean
Fix missing text from the Host Mode States enum documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1161 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-09Webserver project now uses the board LEDs to indicate the current IP ↵Dean
configuration state. Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1160 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-19Commit for the 100219 release.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1137 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-18Use a temporary variable to hold the current URI length in the Webserver, ↵Dean
rather than calling strlen() multiple times on an unchanged buffer. Clean up uip-split.c. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1136 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-18Add uIP-split code to the Webserver project, so that each packet is split in ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1134 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-15Oops - missing brackets in the declaration of a string in TELNETServerApp.c.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1131 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-12Speed up Webserver demo data rate by not sending a full ethernet frame each ↵Dean
time, preventing the receiver from using a delayed ACK scheme which slows down the connection. TELNET server cleanup. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1127 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-12Move DHCP negotiation timer into the DHCP connection application state ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1126 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-12Fix DHCPClient init code in the Webserver project writing to the incorrect ↵Dean
application state location (thanks to Mike Alexander). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1125 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-09Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean
report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1120 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-07Make Webserver allow HTTP requests for files with up to 50 characters in the ↵Dean
path instead of 30, to be in synch with the project documentation. Change Webserver project's ENABLE_DHCP compile time option to ENABLE_DHCP_CLIENT to more accurately indicate its function. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1115 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-04New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean
will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1110 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Re-add Webserver uIP application polling, apply patch to uIP by Andrew Ruder ↵Dean
to fix corrupt TCP streams when multiple applications are used and the applications are polled for more data. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1109 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Fix TELNET server locking up if an invalid command was issued.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1108 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Disable uIP connection polling for now - this seems to corrupt the buffers.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1107 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Add a TELNET server to the webserver project, which currently can list ↵Dean
active TCP connections. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1106 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Exclude FATFs from the Webserver project documentation. Rename the functions ↵Dean
in the HTTPServerApp.c/.h files so that they use the correct "HTTPServerApp_" prefix, and not "Webserver_". git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1104 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Minor fixups to the documentation and preprocessor tokens.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1102 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Remove now unused conf directory from the uIP stack in the Webserver project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1101 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Replace the Webserver demo's uIP with the latest code ripped from the ↵Dean
Contiki project by Adam Dunkels. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1100 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Make packet processing code in the Webserver project a bit neater using a ↵Dean
switch statement instead of an if-else-if chain. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1099 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Make TPI programming protocol program in words, not bytes to satisfy the ↵Dean
datasheet conditions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1095 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-01Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction ↵Dean
into account. Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1089 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-31Clean up HTTP webserver code in the Webserver project, so that it follows ↵Dean
the uIP application structure guidelines and uses cleaner state machine based code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1088 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-31Better HTTP GET parsing in the Webserver demo, add application polling.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1085 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-29Add TCP retransmission support to the HTTP webserver in the Webserver ↵Dean
project, so that lost segments are retransmitted as needed. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1084 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-29Add MIME type handling to the Webserver project, so that files of different ↵Dean
types (e.g. images) can be served out to HTTP clients. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1080 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-28Delete FATFs .lst files from the Webserver project, accidentally committed.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1077 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-28Oops - fix path case in the Webserver project makefile, to fix *nix builds.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1076 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-28Fix up project documentation files' overview tables, so that multiple items ↵Dean
occupy multiple lines in the same cell, rather than multiple cells. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1075 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-28Add FatFS library to the Webserver project, extend the HTTP server so that ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1074 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-27Clean up Webserver project - add more Doxygen documentation for the new DHCP ↵Dean
client functions and defines. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1072 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-27Add DHCP server to the Webserver demo for automatic network configuration. ↵Dean
Correct uIP timer clock not tracking the correct timespan. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1071 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-25Add Webserver project Doxygen configuration file and overview document.Dean
Fix Doxygen configuration files' input file exclusion filters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1065 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-25Moved initial completed version of the Webserver project out of the ↵Dean
Projects/Incomplete directory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1064 d5102386-fcda-11dd-9fdb-3debd5008f28