X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/15c408ab8635fe45226abc2c55c9bebfe1ccb6c8..db420853ce1a7c4545c443b9b7e9925fac3fbbb5:/Projects/Webserver/Webserver.h diff --git a/Projects/Webserver/Webserver.h b/Projects/Webserver/Webserver.h index 2d01d2203..f3aa8d7b8 100644 --- a/Projects/Webserver/Webserver.h +++ b/Projects/Webserver/Webserver.h @@ -55,6 +55,15 @@ #include "Lib/WebserverApp.h" /* Macros: */ + /** IP address that the webserver should use once connected to a RNDIS device. */ + #define DEVICE_IP_ADDRESS 192, 168, 1, 10 + + /** Netmask that the webserver should once connected to a RNDIS device. */ + #define DEVICE_NETMASK 255, 255, 255, 0 + + /** IP address of the default gateway the webserver should use when routing outside the local subnet. */ + #define DEVICE_GATEWAY 192, 168, 1, 1 + /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */ #define LEDMASK_USB_NOTREADY LEDS_LED1 @@ -69,7 +78,7 @@ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ #define LEDMASK_USB_BUSY LEDS_LED2 - + /* Function Prototypes: */ void SetupHardware(void); void ProcessIncommingPacket(void);