1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-20 05:03:14 +03:00

Porting HD API ver. 2.7

This commit is contained in:
Mimmo La Fauci
2012-05-20 23:54:32 +02:00
parent 69387c1b32
commit f1917d85f3
46 changed files with 2859 additions and 960 deletions

21
wifiHD/src/lwip_setup.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef _LWIP_SETUP_H
#define _LWIP_SETUP_H
struct net_cfg {
struct netif *netif; /* lwip network interface */
uint8_t dhcp_enabled;
uint8_t dhcp_running;
};
/*! Start the IP stack.
* If cfg->netif must have been allocated and lwip_init()
* must have been called before this function is called
* (since the IP stack may have to be polled before this
* function can be called).
*/
int start_ip_stack(struct net_cfg *cfg,
struct ip_addr ipaddr,
struct ip_addr netmask,
struct ip_addr gw);
#endif /* _LWIP_SETUP_H */