1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- #ifndef __NETCONF_H
- #define __NETCONF_H
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #include "stm32f4xx.h"
- #include <stdbool.h>
-
- typedef enum
- {
- DHCP_START=0,
- DHCP_WAIT_ADDRESS,
- DHCP_ADDRESS_ASSIGNED,
- DHCP_TIMEOUT
- }
- DHCP_State_TypeDef;
- extern struct netif xnetif;
- void LwIP_Init(void);
- void LwIP_DHCP_task(void * pvParameters);
- void WEB_StartReinitTask(void);
- void vTaskWebReinit(void * pvParameters);
- void SaveWEBparam(void);
- bool GetStateWebReinit(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|