diff options
feat: final changes
Diffstat (limited to 'src/network_data.example.rs')
-rw-r--r-- | src/network_data.example.rs | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/src/network_data.example.rs b/src/network_data.example.rs index 13cd6d5..0ce59d2 100644 --- a/src/network_data.example.rs +++ b/src/network_data.example.rs @@ -1,4 +1,27 @@ -pub const SSID: &str = "Chaostreff Bern"; -pub const PASSWORD: &str = "nyaa :3"; -pub const STATIC_IP: &str = "10.0.0.77"; -pub const GATEWAY_IP: &str = "10.0.0.1"; +// +// Space API HTTP Button ("dumbswitch") Network Data (example file) +// Copyright (C) 2025 memdmp +// +// This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. +// + +use crate::network_type::Network; + +pub const NETWORKS: [Network; 2] = vec![ + Network { + ssid: "Chaostreff Bern", + password: "nyaa :3", + static_ip: "10.0.0.77", + gateway_ip: "10.0.0.1", + }, + Network { + ssid: "Bitwäscherei-Kabale", + password: "uwu x3 nuzzle", + static_ip: "10.0.0.77", + gateway_ip: "10.0.0.1", + }, +]; |