mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
parent
e04d7e3fc7
commit
0b985c0880
10 changed files with 272 additions and 59 deletions
|
|
@ -6,6 +6,7 @@
|
|||
//enum class conn_types_t : byte;
|
||||
|
||||
#define CONNECT_TIMEOUT 20000
|
||||
#define SSID_SCAN_INTERVAL 60000
|
||||
class Network {
|
||||
protected:
|
||||
unsigned long lastEmit = 0;
|
||||
|
|
@ -15,6 +16,7 @@ class Network {
|
|||
int linkSpeed = 0;
|
||||
bool _connecting = false;
|
||||
public:
|
||||
unsigned long lastWifiScan = 0;
|
||||
bool ethStarted = false;
|
||||
bool wifiFallback = false;
|
||||
bool softAPOpened = false;
|
||||
|
|
@ -24,6 +26,7 @@ class Network {
|
|||
conn_types_t connTarget = conn_types_t::unset;
|
||||
bool connected();
|
||||
bool connecting();
|
||||
conn_types_t preferredConnType();
|
||||
String ssid;
|
||||
String mac;
|
||||
int channel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue