autoconnect + preferences
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
bool SetupWiFi();
|
||||
bool Autoconnect(Dictionary &pb);
|
||||
bool Autoconnect(Dictionary &pb, bool reset);
|
||||
bool TryConnect(Dictionary &pb);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
22
include/prefs.h
Normal file
22
include/prefs.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef KIMODEM_PREFS_H
|
||||
#define KIMODEM_PREFS_H
|
||||
|
||||
|
||||
namespace config {
|
||||
|
||||
// Networking
|
||||
|
||||
size_t LastSSID(char *ssid);
|
||||
void SetLastSSID(const char *ssid, size_t ssidlen);
|
||||
|
||||
bool StartTryConnecting();
|
||||
void SetStartTryConnecting(bool opt);
|
||||
|
||||
|
||||
// Misc.
|
||||
void FactoryDefaults();
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user