diff --git a/ADIS_ESP32_Eclipse/main/.gitignore b/ADIS_ESP32_Eclipse/main/.gitignore index 7427950..316aed0 100644 --- a/ADIS_ESP32_Eclipse/main/.gitignore +++ b/ADIS_ESP32_Eclipse/main/.gitignore @@ -1,3 +1,3 @@ /build/ # do NOT put the password on git -/pwd.h +#/pwd.h diff --git a/ADIS_ESP32_Eclipse/main/pwd.h b/ADIS_ESP32_Eclipse/main/pwd.h new file mode 100644 index 0000000..5766e20 --- /dev/null +++ b/ADIS_ESP32_Eclipse/main/pwd.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2021, Erich Styger + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef _WIFI_PWD_H_ +#define _WIFI_PWD_H_ + +#include "platform.h" + +/* ***************************************************************** */ +/* HSLU network with EAP2 authentication */ +/* ***************************************************************** */ +#define CONFIG_WIFI_EAP_METHOD EAP_PEAP +#define CONFIG_WIFI_EAP_SSID "EEE" +/* ***************************************************************** */ +/* home network with SSID and password authentication */ +/* ***************************************************************** */ +#define CONFIG_WIFI_START_WITH WIFI_PASSWORD_METHOD_PSK +//#define CONFIG_WIFI_START_WITH WIFI_PASSWORD_METHOD_WPA2 + +#if 0 +#define CONFIG_WIFI_PSK_SSID "adis" +#define CONFIG_WIFI_PSK_PASSWORD "adis2022" +#elif 0 +#define CONFIG_WIFI_PSK_SSID "Guest" +#define CONFIG_WIFI_PSK_PASSWORD "password" +#else +#define CONFIG_WIFI_PSK_SSID "SSIDhome" +#define CONFIG_WIFI_PSK_PASSWORD "passwordHome" +#endif + +#endif /* _WIFI_PWD_H_ */