aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Webserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/Webserver/Webserver.h')
-rw-r--r--Projects/Webserver/Webserver.h11
1 files changed, 10 insertions, 1 deletions
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);