Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
This commit is contained in:
parent
1aeb5056d6
commit
a960e4b3b2
15 changed files with 471 additions and 43 deletions
|
@ -43,6 +43,17 @@
|
|||
#include <LUFA/Version.h>
|
||||
|
||||
#include <uip.h>
|
||||
|
||||
/* Enums: */
|
||||
enum Webserver_States_t
|
||||
{
|
||||
WEBSERVER_STATE_SendHeaders,
|
||||
WEBSERVER_STATE_SendData,
|
||||
WEBSERVER_STATE_Closed,
|
||||
};
|
||||
|
||||
/* Macros: */
|
||||
#define HTTP_SERVER_PORT 80
|
||||
|
||||
/* Function Prototypes: */
|
||||
void WebserverApp_Init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue