diff --git a/config.proto b/config.proto index 04dbefe..a5e8f80 100644 --- a/config.proto +++ b/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