forked from letscontrolit/RFLinkSmall
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// ************************************* // | ||
// * Arduino Project RFLink-esp * // | ||
// * https://github.com/couin3/RFLink * // | ||
// * 2018..2020 Stormteam - Marc RIVES * // | ||
// * More details in RFLink.ino file * // | ||
// ************************************* // | ||
|
||
#ifndef CREDENTIALS_h | ||
#define CREDENTIALS_h | ||
|
||
#include "RFLink.h" | ||
|
||
// local AP | ||
String WIFI_SSID = "xxx"; | ||
String WIFI_PSWD = "xxx"; | ||
|
||
// DHCP or Static IP | ||
// #define USE_DHCP | ||
#ifndef USE_DHCP | ||
String WIFI_IP = "192.168.1.xxx"; | ||
String WIFI_DNS = "192.168.1.xxx"; | ||
String WIFI_GATEWAY = "192.168.1.xxx"; | ||
String WIFI_SUBNET = "255.255.255.0"; | ||
#endif | ||
|
||
// MQTT Server | ||
String MQTT_SERVER = "192.168.1.xxx"; | ||
String MQTT_PORT = "1883"; | ||
String MQTT_ID = "ESP8266-RFLink_xxx"; | ||
String MQTT_USER = "xxx"; | ||
String MQTT_PSWD = "xxx"; | ||
|
||
// MQTT Topic | ||
String MQTT_TOPIC_OUT = "/ESP00/msg"; | ||
String MQTT_TOPIC_IN = "/ESP00/cmd"; | ||
String MQTT_TOPIC_LWT = "/ESP00/lwt"; | ||
|
||
#ifdef CHECK_CACERT | ||
static const char ca_cert[] PROGMEM = R"EOF( | ||
-----BEGIN CERTIFICATE----- | ||
MIID (...) | ||
-----END CERTIFICATE----- | ||
)EOF"; | ||
#endif //CHECK_CACERT | ||
|
||
#endif |