blob: 76cd93719e8ad542b8ae1ee5c95f35ba9588551b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef __APPS_CONF_H__
#define __APPS_CONF_H__
#include <ff.h>
typedef struct
{
uint8_t CurrentState;
FIL FileToSend;
bool FileOpen;
} uip_tcp_appstate_t;
typedef struct
{
uint8_t CurrentState;
struct uip_udp_conn* Connection;
struct
{
uint8_t AllocatedIP[4];
uint8_t Netmask[4];
uint8_t GatewayIP[4];
uint8_t ServerIP[4];
} DHCPOffer_Data;
} uip_udp_appstate_t;
#define UIP_APPCALL WebserverApp_Callback
#define UIP_UDP_APPCALL DHCPApp_Callback
void UIP_APPCALL(void);
void UIP_UDP_APPCALL(void);
#endif /*__APPS_CONF_H__*/
|