-
Notifications
You must be signed in to change notification settings - Fork 0
/
credentials.hpp
53 lines (49 loc) · 3.69 KB
/
credentials.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
const char* mdnsName = "doorbell"; // Domain name for the mDNS responder
const char *OTAName = "doorbell"; // A name and a password for the OTA service
const char *OTAPassword = "";
String ssid = "" ; // REPLACE ssid WITH YOUR WIFI SSID
String pass = ""; // REPLACE pass YOUR WIFI PASSWORD, IF ANY
String token = "" ; // REPLACE token WITH YOUR TELEGRAM BOT TOKEN
int32_t chat_id = 0; // REPLACE chat_id WITH YOUR CHAT ID
#if ESP32
const char* ca = \
"-----BEGIN CERTIFICATE-----\n" \
"MIIGvjCCBaagAwIBAgIIDQMjoJC2gEIwDQYJKoZIhvcNAQELBQAwgbQxCzAJBgNV\n" \
"BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMRow\n" \
"GAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjEtMCsGA1UECxMkaHR0cDovL2NlcnRz\n" \
"LmdvZGFkZHkuY29tL3JlcG9zaXRvcnkvMTMwMQYDVQQDEypHbyBEYWRkeSBTZWN1\n" \
"cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzIwHhcNMjAwMzI0MTM0ODE3WhcN\n" \
"MjIwNTIzMTYxNzM4WjA+MSEwHwYDVQQLExhEb21haW4gQ29udHJvbCBWYWxpZGF0\n" \
"ZWQxGTAXBgNVBAMTEGFwaS50ZWxlZ3JhbS5vcmcwggEiMA0GCSqGSIb3DQEBAQUA\n" \
"A4IBDwAwggEKAoIBAQC0oxaeXFfJiWXt6ngLropYL65ayG5JjfxXpZiIeC4LPEA8\n" \
"IS6alJgzp+NCp4X60HOEARxyOTcjtVYdQ6VxFAgkpTnM3lhTlI4qQqdOLQcynrq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