File tree Expand file tree Collapse file tree 15 files changed +130
-72
lines changed
libraries/ESP8266WiFi/examples Expand file tree Collapse file tree 15 files changed +130
-72
lines changed Original file line number Diff line number Diff line change 3737#include < CertStoreBearSSL.h>
3838#include < time.h>
3939
40- #ifndef SSID
41- #define SSID " your-ssid"
40+ #ifndef STASSID
41+ #define STASSID " your-ssid"
4242#define PSK " your-password"
4343#endif
4444
45- const char *ssid = SSID ;
45+ const char *ssid = STASSID ;
4646const char *pass = PSK;
4747
4848// A single, global CertStore which can be used by all
Original file line number Diff line number Diff line change 66
77#include < ESP8266WiFi.h>
88
9- #ifndef SSID
10- #define SSID " your-ssid"
9+ #ifndef STASSID
10+ #define STASSID " your-ssid"
1111#define PSK " your-password"
1212#endif
1313
14- const char *ssid = SSID ;
14+ const char *ssid = STASSID ;
1515const char *pass = PSK;
1616
1717void fetch (BearSSL::WiFiClientSecure *client) {
Original file line number Diff line number Diff line change 3737#include < ESP8266WiFi.h>
3838#include < time.h>
3939
40- #ifndef SSID
41- #define SSID " your-ssid"
40+ #ifndef STASSID
41+ #define STASSID " your-ssid"
4242#define PSK " your-password"
4343#endif
4444
45- const char *ssid = SSID ;
45+ const char *ssid = STASSID ;
4646const char *pass = PSK;
4747
4848// The HTTPS server
Original file line number Diff line number Diff line change 6565#include < ESP8266WiFi.h>
6666#include < time.h>
6767
68- #ifndef SSID
69- #define SSID " your-ssid"
68+ #ifndef STASSID
69+ #define STASSID " your-ssid"
7070#define PSK " your-password"
7171#endif
7272
73- const char *ssid = SSID ;
73+ const char *ssid = STASSID ;
7474const char *pass = PSK;
7575
7676// The server which will require a client cert signed by the trusted CA
Original file line number Diff line number Diff line change 66#include < ESP8266WiFi.h>
77#include < time.h>
88
9- #ifndef SSID
10- #define SSID " your-ssid"
9+ #ifndef STASSID
10+ #define STASSID " your-ssid"
1111#define PSK " your-password"
1212#endif
1313
14- const char *ssid = SSID ;
14+ const char *ssid = STASSID ;
1515const char *pass = PSK;
1616
1717const char * host = " api.github.com" ;
Original file line number Diff line number Diff line change 77#include < ESP8266WiFi.h>
88#include < time.h>
99
10- #ifndef SSID
11- #define SSID " your-ssid"
10+ #ifndef STASSID
11+ #define STASSID " your-ssid"
1212#define PSK " your-password"
1313#endif
1414
15- const char *ssid = SSID ;
15+ const char *ssid = STASSID ;
1616const char *pass = PSK;
1717
1818const char * host = " api.github.com" ;
Original file line number Diff line number Diff line change 1919#include < ESP8266WiFi.h>
2020#include < WiFiClientSecure.h>
2121
22- #ifndef SSID
23- #define SSID " your-ssid"
22+ #ifndef STASSID
23+ #define STASSID " your-ssid"
2424#define PSK " your-password"
2525#endif
2626
27- const char * ssid = SSID ;
27+ const char * ssid = STASSID ;
2828const char * password = PSK;
2929
3030const char * host = " api.github.com" ;
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ using namespace AxTLS;
2525// uncomment the line below to run the sketch
2626#error Keeping this example for history, watch BearSSL_Validation example instead
2727
28- #ifndef SSID
29- #define SSID " your-ssid"
28+ #ifndef STASSID
29+ #define STASSID " your-ssid"
3030#define PSK " your-password"
3131#endif
3232
33- const char * ssid = SSID ;
33+ const char * ssid = STASSID ;
3434const char * password = PSK;
3535
3636const char * host = " api.github.com" ;
Original file line number Diff line number Diff line change 2121#include < ESP8266WiFi.h>
2222#include < WiFiUdp.h>
2323
24- #ifndef SSID
25- #define SSID " your-ssid"
24+ #ifndef STASSID
25+ #define STASSID " your-ssid"
2626#define PSK " your-password"
2727#endif
2828
29- char ssid[] = SSID; // your network SSID (name)
30- char pass[] = PSK; // your network password
29+ char ssid[] = STASSID; // your network SSID (name)
30+ char pass[] = PSK; // your network password
3131
3232
3333unsigned int localPort = 2390 ; // local port to listen for UDP packets
Original file line number Diff line number Diff line change 55
66#include < ESP8266WiFi.h>
77
8- #ifndef SSID
9- #define SSID " your-ssid"
8+ #ifndef STASSID
9+ #define STASSID " your-ssid"
1010#define PSK " your-password"
1111#endif
1212
13- const char * ssid = SSID ;
13+ const char * ssid = STASSID ;
1414const char * password = PSK;
1515
1616const char * host = " djxmmx.net" ;
You can’t perform that action at this time.
0 commit comments