1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00

Update to the last version of nonos-sdk V2, WiFi addons (#5210)

* fwupdate

* fw update to latest version:
WPA working, WEP+Open disabled by default. Need API change.

* helpers to follow sdk updates

* remove compare scripts - made a separate PR for them

* add wep api, restore original espressif comment (wep enabled does not prevent wpa)

* libmain was not up to date

* experimental: DTIM setting in WiFi.setSleepMode(WIFI_LIGHT/MODEM_SLEEP, DTIM-value)
with new getter: .getListenInterval() / .isSleepLevelMax()

* fixes

* fix debug message

* when not using listenInterval, set wifi sleep level to min

* update documentation

* update doc
This commit is contained in:
david gauchard
2018-10-09 15:21:23 +02:00
committed by Develo
parent 9fb4a05d67
commit 8ef21ca3ae
25 changed files with 150 additions and 8 deletions

View File

@ -66,8 +66,11 @@ class ESP8266WiFiGenericClass {
int32_t channel(void);
bool setSleepMode(WiFiSleepType_t type);
bool setSleepMode(WiFiSleepType_t type, uint8_t listenInterval = 0);
WiFiSleepType_t getSleepMode();
uint8_t getListenInterval ();
bool isSleepLevelMax ();
bool setPhyMode(WiFiPhyMode_t mode);
WiFiPhyMode_t getPhyMode();