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

@ -6,15 +6,6 @@
#include <stdio.h>
#include <stdbool.h>
typedef int uip_tcp_appstate_t;
typedef int uip_udp_appstate_t;
#define UIP_APPCALL TCPCallback
#define UIP_UDP_APPCALL TCPCallback
void UIP_APPCALL(void);
void UIP_UDP_APPCALL(void);
#define UIP_CONF_LLH_LEN 14
/**
@ -68,7 +59,7 @@ typedef unsigned short uip_stats_t;
*
* \hideinitializer
*/
#define UIP_CONF_BUFFER_SIZE 1100
#define UIP_CONF_BUFFER_SIZE 1500
/**
* CPU byte order.
*