From 5a5897a1b5bdabee7800975fcf66df9bbbd2d79d Mon Sep 17 00:00:00 2001 From: Sam Murray <smurray798@huskers.unl.edu> Date: Mon, 19 Sep 2022 09:15:00 -0500 Subject: [PATCH] Added Sam's and Marcus's connection strings as defines --- ESP-1ch-Gateway-v5.0-master/ESP-sc-gway/ESP-sc-gway.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ESP-1ch-Gateway-v5.0-master/ESP-sc-gway/ESP-sc-gway.ino b/ESP-1ch-Gateway-v5.0-master/ESP-sc-gway/ESP-sc-gway.ino index ea8cda5..977a5d2 100644 --- a/ESP-1ch-Gateway-v5.0-master/ESP-sc-gway/ESP-sc-gway.ino +++ b/ESP-1ch-Gateway-v5.0-master/ESP-sc-gway/ESP-sc-gway.ino @@ -111,7 +111,10 @@ extern "C" { #endif//ESP_ARCH // ----------- Declaration of vars -------------- -static const char* connectionString = "HostName=SepIoTHub.azure-devices.net;DeviceId=Node1;SharedAccessKey=dZfUU6HJc+TCioN8sbiCgSb/zVK0bgEOiTLKryj6lPA="; +#define SEP_CONNECTION_STRING "HostName=SepIoTHub.azure-devices.net;DeviceId=Node1;SharedAccessKey=dZfUU6HJc+TCioN8sbiCgSb/zVK0bgEOiTLKryj6lPA=" +#define SAM_CONNECTION_STRING "HostName=Sam-Murray-Student-IoT-Hub.azure-devices.net;DeviceId=CSCE838-IoT-Sam-Murray;SharedAccessKey=QakoDPCyhIYVOGhf0vcwS+DrHq8rMRWLyS0JmUK8ak0=" +#define MARCUS_CONNECTION_STRING "HostName=CSCE838-IoT.azure-devices.net;DeviceId=Gateway;SharedAccessKey=45a4Yyi98WLO2d7Dudf+jR5r05T063sLWd1UpyCYsAI=" +static const char* connectionString = SEP_CONNECTION_STRING; uint8_t debug=1; // Debug level! 0 is no msgs, 1 normal, 2 extensive uint8_t pdebug=0xFF; // Allow all atterns (departments) -- GitLab