1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Update secrets.h to network and credentials (#8325)

WiFi credentials: standard macro used in examples
This commit is contained in:
Matthias Hertel 2021-09-29 15:10:26 +02:00 committed by GitHub
parent 3f4bcbe483
commit 93b7325cb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,5 +9,10 @@
// ssid and passPhrase can be used when compiling for a specific environment as a 2. option. // ssid and passPhrase can be used when compiling for a specific environment as a 2. option.
// add you wifi network name and PassPhrase or use WiFi Manager // add you wifi network name and PassPhrase or use WiFi Manager
const char *ssid = "KHMH"; #ifndef STASSID
const char *passPhrase = "hk-2012FD2926"; #define STASSID "ssid"
#define STAPSK "psk"
#endif
const char *ssid = STASSID;
const char *passPhrase = STAPSK;