add enabled boolean

pull/188/head
Sacha Weatherstone 2022-08-06 21:27:21 +10:00
rodzic a8c022fb71
commit 5b2162bf73
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7AB2D7E206124B31
1 zmienionych plików z 13 dodań i 14 usunięć

Wyświetl plik

@ -291,44 +291,43 @@ message Config {
message WiFiConfig {
enum WiFiMode {
/*
* Disables WiFi (re-enables Bluetooth)
*/
Disabled = 0;
/*
* This mode is used to connect to an external WiFi network
*/
Client = 1;
Client = 0;
/*
* In this mode the node will operate as an AP (and DHCP server)
*/
AccessPoint = 2;
AccessPoint = 1;
/*
* If set, the node AP will broadcast as a hidden SSID
*/
AccessPointHidden = 3;
AccessPointHidden = 2;
}
/*
* If set, this node will try to join the specified wifi network and
* acquire an address via DHCP
* Enable WiFi (disables Bluetooth)
*/
WiFiMode mode = 1;
boolean enabled = 1;
/*
* If set, this node will try to join the specified wifi network and
* acquire an address via DHCP
*/
string ssid = 2;
WiFiMode mode = 2;
/*
* If set, this node will try to join the specified wifi network and
* acquire an address via DHCP
*/
string ssid = 3;
/*
* If set, will be use to authenticate to the named wifi
*/
string psk = 3;
string psk = 4;
}
/*