24 lines
761 B
C
24 lines
761 B
C
#pragma once
|
|
|
|
// Diese Datei nach config.h kopieren und lokal ausfuellen.
|
|
// config.h ist in .gitignore eingetragen und darf niemals committed werden.
|
|
|
|
struct WifiCredential {
|
|
const char *ssid;
|
|
const char *password;
|
|
};
|
|
|
|
static const WifiCredential KNOWN_WIFI_NETWORKS[] = {
|
|
{"MEIN_WLAN", "MEIN_WLAN_PASSWORT"},
|
|
};
|
|
|
|
static const char *AP_SSID = "PlasmaBridge-Setup";
|
|
|
|
// Mit einem langen Zufallswert ersetzen, z.B. `openssl rand -hex 32`.
|
|
static const char *AUTH_TOKEN = "CHANGE_ME_TO_A_LONG_RANDOM_TOKEN";
|
|
|
|
static const char *NEXTCLOUD_HOST = "nextcloud.example.invalid";
|
|
static const char *NEXTCLOUD_USER = "plasmabridge";
|
|
static const char *NEXTCLOUD_APP_PASSWORD = "CHANGE_ME_TO_AN_APP_PASSWORD";
|
|
static const char *NEXTCLOUD_FOLDER = "/Plasmadatein";
|