X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d11ed10c5314c44dc01c06954d1d73d4894cbff8..1d8bb8f9bc90a492073b93ef3b422ac947c873e7:/Projects/Webserver/Webserver.txt diff --git a/Projects/Webserver/Webserver.txt b/Projects/Webserver/Webserver.txt index e78cf5eff..05d0b1ffd 100644 --- a/Projects/Webserver/Webserver.txt +++ b/Projects/Webserver/Webserver.txt @@ -19,19 +19,25 @@ *
USB Mode: | - *Host | + *Dual 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 Specification | + *Microsoft 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: | @@ -48,15 +54,18 @@ * * 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. - - * When attached to a RNDIS class device, such as a USB (desktop) modem. If compatible, 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). + * 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 the maximum URI length (\see \ref SSec_Options). + * + * 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 and TELNET + * connections on port 23. 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) - otherwise, the device + * will query the network's DHCP server for these parameters automatically. * - * When properly configured, the webserver can be accessed from any HTTP webrowser by typing in the device's static or - * dynamically allocated IP address. + * When properly configured, the webserver can be accessed from any HTTP webrowser by typing in the device's statically or + * dynamically allocated IP address. The TELNET client can be accessed via any network socket app by connecting to the device + * on port 23 on the device's statically or dynamically allocated IP address. * * \section SSec_Options Project Options * @@ -69,25 +78,30 @@ *Description: | *|||
ENABLE_DHCP | + *ENABLE_DHCP_CLIENT | *Makefile CDEFS | - *When defined, enables the DHCP client for dynamic IP allocation of the network settings from a DHCP server. | + *When defined, this enables the DHCP client for dynamic IP allocation of the network settings from a DHCP server. | *
DEVICE_IP_ADDRESS | *Lib/uIPManagement.h | - *IP address that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP is not defined). | + *IP address that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP_CLIENT is not defined). | *|
DEVICE_NETMASK | *Lib/uIPManagement.h | - *Netmask that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP is not defined). | + *Netmask that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP_CLIENT is not defined). | *|
DEVICE_GATEWAY | *Lib/uIPManagement.h | - *Default routing gateway that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP + * | Default routing gateway that the webserver should use when connected to a RNDIS device (when ENABLE_DHCP_CLIENT * is not defined). | *|
MAX_URI_LENGTH | + *Makefile CDEFS | + *Maximum length of a URI for the Webserver. This is the maximum file path, including subdirectories and seperators. | + *