From 6f23f9fb8cabc53378e512743d11dfca321cf2b5 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 18 May 2025 12:53:30 +0200 Subject: feat: final changes --- src/network_data.example.rs | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'src/network_data.example.rs') 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 . +// + +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", + }, +]; -- cgit v1.2.3