mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Resurrect wifi_mode
but not as we knew it :-)
This commit is contained in:
parent
7e102f0f3c
commit
2954e5b022
1 changed files with 5 additions and 17 deletions
22
config.proto
22
config.proto
|
|
@ -249,23 +249,6 @@ message Config {
|
|||
*/
|
||||
message NetworkConfig {
|
||||
|
||||
enum WiFiMode {
|
||||
/*
|
||||
* This mode is used to connect to an external WiFi network
|
||||
*/
|
||||
CLIENT = 0;
|
||||
|
||||
/*
|
||||
* In this mode the node will operate as an AP (and DHCP server)
|
||||
*/
|
||||
ACCESS_POINT = 1;
|
||||
|
||||
/*
|
||||
* If set, the node AP will broadcast as a hidden SSID
|
||||
*/
|
||||
ACCESS_POINT_HIDDEN = 2;
|
||||
}
|
||||
|
||||
enum EthMode {
|
||||
/*
|
||||
* obtain ip address via DHCP
|
||||
|
|
@ -304,6 +287,11 @@ message Config {
|
|||
* Enable WiFi (disables Bluetooth)
|
||||
*/
|
||||
bool wifi_enabled = 1;
|
||||
|
||||
/*
|
||||
* acquire an address via DHCP or assign static
|
||||
*/
|
||||
EthMode wifi_mode = 2;
|
||||
|
||||
/*
|
||||
* If set, this node will try to join the specified wifi network and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue