1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

lwip2: 3 sntp servers, autoip (169.254), esp-ping, espconn (#5444)

* lwip2: better handling of ipv4_addr/t type + 3 sntp servers

* bump lwip2 version

* Only with FEATURES=1: 3 sntp servers and AutoIP enabled (169.254 when dhcp server fails)

* Only with FEATURES=1: 3 sntp servers and AutoIP enabled (169.254 when dhcp server fails)

* local CI runner: select build type

* new ipv4_addr/t definition makes things easier for IPAddress

* update local CI runner

* lwip2 changes

* lwip2: port esp-ping and espconn
This commit is contained in:
david gauchard
2018-12-08 01:24:38 +01:00
committed by Develo
parent 6d42a26cc2
commit 0db6ec4ba8
16 changed files with 115 additions and 43 deletions

View File

@ -26,23 +26,12 @@
#define __IP_ADDR_H__
#include "c_types.h"
#include "ipv4_addr.h"
#ifdef __cplusplus
extern "C" {
#endif
struct ipv4_addr {
uint32 addr;
};
typedef struct ipv4_addr ipv4_addr_t;
struct ip_info {
struct ipv4_addr ip;
struct ipv4_addr netmask;
struct ipv4_addr gw;
};
/**
* Determine if two address are on the same network.
*