kopia lustrzana https://github.com/meshtastic/protobufs
add enabled boolean
rodzic
a8c022fb71
commit
5b2162bf73
27
config.proto
27
config.proto
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue