mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-24 08:45:10 +03:00
* wifi: ARP gratuitous API for wifi station mode * fix with lwip1 * update comment * update API to allow changing interval on the fly * update API * remove debug lines * mock lwIP's etharp_request() * unsigned interval * use scheduled ticker * ticker: +attach_ms_scheduled_accurate ticker: +comment gratuitous: use attach_ms_scheduled_accurate * move to experimental namespace * fix for lwIP-v1.4 * attempt to make pio happy * use directly ETSTimer instead of Ticker
37 lines
504 B
C++
37 lines
504 B
C++
|
|
#include <AddrList.h>
|
|
#include <lwip/netif.h>
|
|
|
|
esp8266::AddressListImplementation::AddressList addrList;
|
|
|
|
extern "C"
|
|
{
|
|
|
|
extern netif netif0;
|
|
|
|
netif* netif_list = &netif0;
|
|
|
|
err_t dhcp_renew(struct netif *netif)
|
|
{
|
|
(void)netif;
|
|
return ERR_OK;
|
|
}
|
|
|
|
void sntp_setserver(u8_t, const ip_addr_t)
|
|
{
|
|
}
|
|
|
|
const ip_addr_t* sntp_getserver(u8_t)
|
|
{
|
|
return IP_ADDR_ANY;
|
|
}
|
|
|
|
err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr)
|
|
{
|
|
(void)netif;
|
|
(void)ipaddr;
|
|
return ERR_OK;
|
|
}
|
|
|
|
} // extern "C"
|