V.06 11/3

Dependencies:   FT6206 SDFileSystem SPI_TFT_ILI9341 TFT_fonts

Fork of ATT_AWS_IoT_demo by attiot

Revision:
23:b9ff83dc965f
Parent:
18:6370da1de572
Child:
24:224c07ec3bd0
diff -r 0a5d7c20ed96 -r b9ff83dc965f AWS_openssl/aws_iot_config.h
--- a/AWS_openssl/aws_iot_config.h	Wed Dec 07 21:19:07 2016 +0000
+++ b/AWS_openssl/aws_iot_config.h	Thu Dec 15 18:05:09 2016 +0000
@@ -28,7 +28,7 @@
 // b) Pull certs and MQTT information from SD card.
 //
 // Pull information from SD card
-#define USING_SD_CARD
+//#define USING_SD_CARD
 //=====================================================================================================================
 
 // =================================================
@@ -37,8 +37,9 @@
 #define AWS_IOT_MQTT_PORT              8883   ///< default port for MQTT/S
 #define AWS_IOT_MQTT_CLIENT_ID         "TODO" ///< MQTT client ID should be unique for every device
 #define AWS_IOT_MY_THING_NAME 		   "TODO" ///< Thing Name of the Shadow this device is associated with
+#define AWS_IOT_MY_TOPIC               "TODO/%s" ///< Topic name to publish to (used with alternate demo)
 
-#ifdef USING_SD_CARD // These files are only valid when SD card is being used
+//#ifdef USING_SD_CARD // These files are only valid when SD card is being used
 // Example format for mqtt_config.txt:
 /*
 AWS_IOT_MQTT_HOST=1234asdf.iot.us-west-2.amazonaws.com
@@ -50,7 +51,7 @@
 #define AWS_IOT_ROOT_CA_FILENAME       "/sd/certs/rootCA-certificate.crt" ///< Root CA file name
 #define AWS_IOT_CERTIFICATE_FILENAME   "/sd/certs/certificate.pem.crt"    ///< device signed certificate file name
 #define AWS_IOT_PRIVATE_KEY_FILENAME   "/sd/certs/private.pem.key"        ///< Device private key filename
-#endif
+//#endif
 // =================================================
 
 // MQTT PubSub