Dean Camera
137ce280c1
Updated all host mode demos and projects to use the 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.
14 years ago
Dean Camera
f01a05415c
Spell check library source code files.
14 years ago
Dean Camera
edc4db41f4
Update Webserver project to remove DHCP IP configuration status notification.
14 years ago
Dean Camera
3cba88e4c0
Add RNDIS Device support to the Webserver project, so that the files stored on the device can be viewed from a web-browser while the board is plugged into a host machine.
14 years ago
Dean Camera
782614dbb5
Add static keyword to all project globals whose scope should be restricted 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.
14 years ago
Dean Camera
1d433d4506
Update copyright year on all source files.
14 years ago
Dean Camera
cb779e3d7d
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
14 years ago
Dean Camera
5a4def7478
Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda
14 years ago
Dean Camera
3693916cd3
Fix Webserver project code not compiling due to the changes to the USB mode selection constant names.
14 years ago
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.
...
Change over static strings in the Webserver project to use PROGMEM where possible.
15 years ago
Dean Camera
92418433a5
Fix incorrect LED mask name in the Webserver project.
...
Fix missing text from the Host Mode States enum documentation.
15 years ago
Dean Camera
ce260ae786
Webserver project now uses the board LEDs to indicate the current IP configuration state.
...
Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode.
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.
...
Change Webserver project's ENABLE_DHCP compile time option to ENABLE_DHCP_CLIENT to more accurately indicate its function.
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).
...
Spell-check code/comments in the Webserver/AVRISP-MKII projects.
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