summaryrefslogtreecommitdiff
path: root/config.h.template
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2021-12-24 09:01:33 -0800
committerJesse Morgan <jesse@jesterpm.net>2021-12-24 09:01:33 -0800
commit379b40f47ff858c56c06048aacaafe163156471e (patch)
treeb9cb5f121b56f44d1d8b36a22629075edd5e1fe7 /config.h.template
Christmas eve checkpoint
I'd like to cleanup the code and make the status light more useful, but it's time to ship!
Diffstat (limited to 'config.h.template')
-rw-r--r--config.h.template17
1 files changed, 17 insertions, 0 deletions
diff --git a/config.h.template b/config.h.template
new file mode 100644
index 0000000..805600e
--- /dev/null
+++ b/config.h.template
@@ -0,0 +1,17 @@
+// Copy this file to config.h and fill in the variables
+
+
+// Define if using https.
+#define USE_TLS 1
+
+// The http(s) endpoint
+const char* ENDPOINT = "https://jesterpm.net/flowerpot/data";
+
+// The fingerprint of the SSL certificate for the endpoint.
+const char* FINGERPRINT = "0F 7E 78 97 59 32 B9 58 DC DD 9A 97 96 D3 0F 6E B3 4A 5E DE";
+
+// The secret key used to sign the messages.
+const char SECRET_KEY[] = "secretkey";
+
+// Define if device has a battery
+// #define HAS_BATTERY 1