aboutsummaryrefslogtreecommitdiff
path: root/Projects/Webserver/Lib/uIPManagement.c
AgeCommit message (Collapse)Author
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-08Updated all host mode demos and projects to use the ↵Dean
EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1850 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Spell check library source code files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1777 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-26Update Webserver project to remove DHCP IP configuration status notification.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1764 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-22Add RNDIS Device support to the Webserver project, so that the files stored ↵Dean
on the device can be viewed from a web-browser while the board is plugged into a host machine. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1759 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-10Add static keyword to all project globals whose scope should be restricted ↵Dean
to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1661 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-12Fix Webserver project code not compiling due to the changes to the USB mode ↵Dean
selection constant names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1522 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 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-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-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-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-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-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-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