Fix up the incomplete Webserver project so that it integrates with the uIP stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated.

Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
This commit is contained in:
Dean Camera 2010-01-21 13:45:44 +00:00
parent 41ad6bd6d7
commit 03ee87b35a
11 changed files with 251 additions and 72 deletions

View file

@ -1,15 +1,20 @@
#ifndef __APPS_CONF_H__
#define __APPS_CONF_H__
//Here we include the header file for the application(s) we use in our project.
enum Webserver_States_t
{
WEBSERVER_STATE_SendHeaders,
WEBSERVER_STATE_SendData,
WEBSERVER_STATE_Closed,
};
//#include "smtp.h"
//#include "hello-world.h"
//#include "simple-httpd.h"
//#include "telnetd.h"
//#include "webserver.h"
//#include "dhcpc.h"
//#include "resolv.h"
//#include "webclient.h"
typedef struct
{
uint8_t CurrentState;
char* SendPos;
} uip_tcp_appstate_t;
#define UIP_APPCALL WebserverAppCallback
void UIP_APPCALL(void);
#endif /*__APPS_CONF_H__*/