mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-09 02:14:20 +00:00
37 lines
696 B
C
37 lines
696 B
C
#ifndef __APPS_CONF_H__
|
|
#define __APPS_CONF_H__
|
|
|
|
#include <ff.h>
|
|
|
|
typedef struct
|
|
{
|
|
uint8_t PrevState;
|
|
uint8_t CurrentState;
|
|
|
|
FIL FileHandle;
|
|
char FileName[50];
|
|
bool FileOpen;
|
|
uint32_t CurrentFilePos;
|
|
} 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__*/
|