Commit Graph

38 Commits

Author SHA1 Message Date
Dean Camera 04d40897cf Commit for the 100219 release. 2010-02-19 00:07:22 +00:00
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. 2010-02-18 05:33:35 +00:00
Dean Camera 012628f635 Turn OFF double banking in the Webserver demo - leaving it on seems to destroy the system throughput. 2010-02-18 05:10:24 +00:00
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. 2010-02-18 02:19:43 +00:00
Dean Camera c77b30e9e6 Clean up XPLAINBridge code. 2010-02-16 13:12:59 +00:00
Dean Camera 015956baba Oops - missing brackets in the declaration of a string in TELNETServerApp.c. 2010-02-15 13:50:04 +00:00
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. 2010-02-12 07:54:28 +00:00
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. 2010-02-12 07:27:26 +00:00
Dean Camera 41ef05a6e5 Fix DHCPClient init code in the Webserver project writing to the incorrect application state location (thanks to Mike Alexander). 2010-02-12 05:05:03 +00:00
Dean Camera 35a0fe9384 Fixed USB_GetHIDReportSize() returning the number of bits in the specified 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.
2010-02-09 12:30:51 +00:00
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.
Change Webserver project's ENABLE_DHCP compile time option to ENABLE_DHCP_CLIENT to more accurately indicate its function.
2010-02-07 10:46:02 +00:00
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).
Spell-check code/comments in the Webserver/AVRISP-MKII projects.
2010-02-04 02:27:09 +00:00
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. 2010-02-03 14:09:56 +00:00
Dean Camera 7d3ed40070 Fix TELNET server locking up if an invalid command was issued. 2010-02-03 13:08:37 +00:00
Dean Camera b9cf4815e5 Disable uIP connection polling for now - this seems to corrupt the buffers. 2010-02-03 11:31:59 +00:00
Dean Camera 16ea5aa7a2 Add a TELNET server to the webserver project, which currently can list active TCP connections. 2010-02-03 10:39:33 +00:00
Dean Camera 77e86e7d82 Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation. 2010-02-03 00:57:49 +00:00
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_". 2010-02-03 00:48:06 +00:00
Dean Camera 53eca61d02 Minor fixups to the documentation and preprocessor tokens. 2010-02-02 13:29:07 +00:00
Dean Camera f979fd36be Remove now unused conf directory from the uIP stack in the Webserver project. 2010-02-02 12:56:29 +00:00
Dean Camera 84e1241f80 Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels. 2010-02-02 12:51:05 +00:00
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. 2010-02-02 05:56:47 +00:00
Dean Camera b736a5ef2b Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions. 2010-02-02 03:22:45 +00:00
Dean Camera b6a4584a19 Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction 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.
2010-02-01 01:27:00 +00:00
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. 2010-01-31 14:18:03 +00:00
Dean Camera 97f7cd947b Better HTTP GET parsing in the Webserver demo, add application polling. 2010-01-31 04:23:55 +00:00
Dean Camera e8b8ed2bad Add TCP retransmission support to the HTTP webserver in the Webserver project, so that lost segments are retransmitted as needed. 2010-01-29 09:21:38 +00:00
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. 2010-01-29 02:43:07 +00:00
Dean Camera 1b59f561ed Second fix to Webserver project's makefile for the FATFs path case to fix *nix builds. 2010-01-28 13:25:50 +00:00
Dean Camera e4674aecb7 Delete FATFs .lst files from the Webserver project, accidentally committed. 2010-01-28 13:24:04 +00:00
Dean Camera 1babe52682 Oops - fix path case in the Webserver project makefile, to fix *nix builds. 2010-01-28 13:23:05 +00:00
Dean Camera 5f776f4785 Fix up project documentation files' overview tables, so that multiple items occupy multiple lines in the same cell, rather than multiple cells. 2010-01-28 13:17:36 +00:00
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. 2010-01-28 12:47:35 +00:00
Dean Camera cec699ac59 Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines. 2010-01-27 13:45:08 +00:00
Dean Camera a960e4b3b2 Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan. 2010-01-27 13:15:49 +00:00
Dean Camera 4bd44139b1 Move TWI.c driver into the straight LUFA/Drivers/Peripheral/ directory.
Fix TemperatureDataLogger and Webserver project builds.
2010-01-25 13:02:25 +00:00
Dean Camera db420853ce Add Webserver project Doxygen configuration file and overview document.
Fix Doxygen configuration files' input file exclusion filters.
2010-01-25 12:46:57 +00:00
Dean Camera 15c408ab86 Moved initial completed version of the Webserver project out of the Projects/Incomplete directory. 2010-01-25 12:10:13 +00:00