X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0..ec6fbb219fc95ffd5f6f9fffd84eeb5f3fd643a3:/Projects/Webserver/Webserver.txt diff --git a/Projects/Webserver/Webserver.txt b/Projects/Webserver/Webserver.txt index e1d298596..5b62f067c 100644 --- a/Projects/Webserver/Webserver.txt +++ b/Projects/Webserver/Webserver.txt @@ -19,19 +19,25 @@ * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * @@ -41,16 +47,23 @@ * * \section SSec_Description Project Description: * - * Simple HTTP webserver project. This project combines the LUFA library with the uIP TCP/IP full network stack, to create a - * RNDIS host capable of serving out HTTP webpages to up to 10 hosts simultaneously. This project demonstrates how the two - * libraries can be combined into a robust network enabled application, with the addition of a RNDIS network device. + * Simple HTTP webserver project. This project combines the LUFA library with the uIP TCP/IP full network stack and FatFS + * library to create a RNDIS host capable of serving out HTTP webpages to multiple hosts simultaneously. This project + * demonstrates how the libraries can be combined into a robust network enabled application, with the addition of a RNDIS + * network device. * - * To use this project, plug the USB AVR into a RNDIS class device, such as a USB (desktop) modem. If compatible, the project - * will enumerate the device, set the appropriate parameters needed for connectivity and begin listening for new HTTP connections - * on port 80. The device IP, netmask and default gateway IP must be set to values appropriate for the RNDIS device being used - * for this project to work. + * To use this project, plug the USB AVR into a computer, so that it enumerates as a standard Mass Storage device. Load + * HTML files onto the disk, so that they can be served out to clients -- the default file to serve should be called + * index.htm. Filenames must be in 8.3 format for them to be retrieved correctly by the webserver, and the total + * requested file path must be equal to or less than 50 characters. * - * When properly configured, the webserver can be accessed from any HTTP webrowser by typing in the device's IP address. + * When attached to a RNDIS class device, such as a USB (desktop) modem, the system will enumerate the device, set the + * appropriate parameters needed for connectivity and begin listening for new HTTP connections on port 80. The device IP, + * netmask and default gateway IP must be set to values appropriate for the RNDIS device being used for this project to + * work, if the DHCP client is disabled (see \ref SSec_Options). + * + * When properly configured, the webserver can be accessed from any HTTP webrowser by typing in the device's static or + * dynamically allocated IP address. * * \section SSec_Options Project Options * @@ -69,17 +82,17 @@ * * * - * + * * * * * - * + * * * * * - * + * * *
USB Mode:HostDual Mode Host/Device
USB Class:Communications Device Class (CDC)Communications Device Class (CDC) \n + * Mass Storage Device
USB Subclass:Remote NDIS (Microsoft Proprietary CDC Class Networking Standard)Remote NDIS (Microsoft Proprietary CDC Class Networking Standard) \n + * Bulk-Only Transport
Relevant Standards:Microsoft RNDIS SpecificationMicrosoft RNDIS Specification \n + * USBIF Mass Storage Standard \n + * USB Bulk-Only Transport Standard \n + * SCSI Primary Commands Specification \n + * SCSI Block Commands Specification
Usable Speeds:
DEVICE_IP_ADDRESSWebserver.hLib/uIPManagement.hIP address that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP is not defined).
DEVICE_NETMASKWebserver.hLib/uIPManagement.hNetmask that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP is not defined).
DEVICE_GATEWAYWebserver.hLib/uIPManagement.hDefault routing gateway that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP * is not defined).