mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Experimental: add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME (#6356)
* add new WiFimodes: WIFI_SHUTDOWN & WIFI_RESUME with example * restore WiFi.onWiFiModeChange()
This commit is contained in:
@ -12,4 +12,13 @@ err_t dhcp_renew(struct netif *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;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
@ -461,7 +461,9 @@ bool smartconfig_stop (void)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
sleep_type_t wifi_fpm_get_sleep_type(void)
|
||||
{
|
||||
return NONE_SLEEP_T;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
Reference in New Issue
Block a user