Add support for WiFi long range mode (#3190)

* Add support for WiFi long range mode

* Update WiFiGeneric.cpp
This commit is contained in:
Me No Dev
2019-10-06 17:43:15 +03:00
committed by GitHub
parent e50613622e
commit 0cdfb0b193
2 changed files with 35 additions and 9 deletions

View File

@ -83,6 +83,7 @@ class WiFiGenericClass
int32_t channel(void);
void persistent(bool persistent);
void enableLongRange(bool enable);
static bool mode(wifi_mode_t);
static wifi_mode_t getMode();
@ -100,6 +101,7 @@ class WiFiGenericClass
protected:
static bool _persistent;
static bool _long_range;
static wifi_mode_t _forceSleepLastMode;
static int setStatusBits(int bits);