V.06 11/3

Dependencies:   FT6206 SDFileSystem SPI_TFT_ILI9341 TFT_fonts

Fork of ATT_AWS_IoT_demo by attiot

Revision:
29:f71a0be59b99
Parent:
15:6f2798e45099
--- a/AWS_openssl/aws_iot_src/shadow/aws_iot_shadow.cpp	Mon Oct 09 21:13:49 2017 +0000
+++ b/AWS_openssl/aws_iot_src/shadow/aws_iot_shadow.cpp	Fri Nov 03 20:28:02 2017 +0000
@@ -20,10 +20,13 @@
 #include "aws_iot_shadow_key.h"
 #include "aws_iot_shadow_records.h"
 
+extern char *aws_iot_mqtt_host;
+
 const ShadowParameters_t ShadowParametersDefault = {
 		.pMyThingName = AWS_IOT_MY_THING_NAME,
 		.pMqttClientId = AWS_IOT_MQTT_CLIENT_ID,
-		.pHost = AWS_IOT_MQTT_HOST,
+		//.pHost = AWS_IOT_MQTT_HOST,
+		.pHost = aws_iot_mqtt_host,
 		.port = AWS_IOT_MQTT_PORT,
 		.pRootCA = NULL,
 		.pClientCRT = NULL,