IoT - Modular - TopSecret.h

From The TinkerNet Wiki
Revision as of 14:11, 30 April 2021 by Tinker (talk | contribs) (Created page with "<syntaxhighlight lang="cpp" line="1"> #ifndef TOPSECRET_H #define TOPSECRET_H #if WAP==0 const char* WiFi_ssid = "SSID_0"; const char* WiFi_password = "PASSWORD_0"; const cha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1 #ifndef TOPSECRET_H
 2 #define TOPSECRET_H
 3 
 4 #if WAP==0
 5 const char* WiFi_ssid = "SSID_0";
 6 const char* WiFi_password = "PASSWORD_0";
 7 const char* MQTT_broker = "skeeter.tinkernet.ca";
 8 const char* MQTT_user = "";
 9 const char* MQTT_pass = "";
10 int Altitude = 264; // Home
11 #elif WAP==1
12 const char* WiFi_ssid = "SSID_1";
13 const char* WiFi_password = "PASSWORD_1";
14 const char* MQTT_broker = "skynet.tinkernet.ca";
15 const char* MQTT_user = "";
16 const char* MQTT_pass = "";
17 int Altitude = 264; // Home
18 #elif WAP==2
19 const char* WiFi_ssid = "SSID_2";
20 const char* WiFi_password = "PASSWORD_2";
21 const char* MQTT_broker = "192.168.0.222";
22 const char* MQTT_user = "";
23 const char* MQTT_pass = "";
24 int Altitude = 276; // Vanneck
25 #elif WAP==3
26 const char* WiFi_ssid = "SSID_3";
27 const char* WiFi_password = "PASSWORD_3";
28 const char* MQTT_broker = "192.168.0.222";
29 const char* MQTT_user = "";
30 const char* MQTT_pass = "";
31 int Altitude = 264; // Home
32 //int Altitude = 276; // Vanneck
33 #elif WAP==4
34 const char* WiFi_ssid = "SSID_4";
35 const char* WiFi_password = "PASSWORD_4";
36 const char* MQTT_broker = "skynet.millersparadise.ca";
37 const char* MQTT_user = "";
38 const char* MQTT_pass = "";
39 int Altitude = 254; // Amiens
40 #else
41 const char* WiFi_ssid = "SSID_default";
42 const char* WiFi_password = "PASSWORD_default";
43 const char* MQTT_broker = "skynet.tinkernet.ca";
44 const char* MQTT_user = "";
45 const char* MQTT_pass = "";
46 int Altitude = 264; // Home
47 #endif
48 
49 #endif // TOPSECRET_H