add pwd.h and unignoring it

main
Jonas Arnold 4 years ago
parent 2c66264e53
commit c091e04bd3
  1. 2
      ADIS_ESP32_Eclipse/main/.gitignore
  2. 34
      ADIS_ESP32_Eclipse/main/pwd.h

@ -1,3 +1,3 @@
/build/
# do NOT put the password on git
/pwd.h
#/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_ */
Loading…
Cancel
Save