DIYmall 0.96" Inch I2c IIC Serial 128x64 Oled LCD LED White Display Module

Dependencies:   Adafruit_GFX SDFileSystem

Fork of ATT_AWS_IoT_demo by AT&T IoT

Revision:
28:4650c541b029
Parent:
24:224c07ec3bd0
diff -r 2f486c766854 -r 4650c541b029 AWS_openssl/aws_iot_config.h
--- a/AWS_openssl/aws_iot_config.h	Tue Feb 07 16:18:57 2017 +0000
+++ b/AWS_openssl/aws_iot_config.h	Tue Oct 09 20:57:34 2018 +0000
@@ -33,13 +33,13 @@
 
 // =================================================
 // USER ENTERED VALUES (only used when not using SD card)
-#define AWS_IOT_MQTT_HOST              "TODO" ///< Customer specific MQTT HOST. The same will be used for Thing Shadow
+#define AWS_IOT_MQTT_HOST              "avy9htt9ufbgq.iot.us-east-1.amazonaws.com" ///< Customer specific MQTT HOST. The same will be used for Thing Shadow
 #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)
+#define AWS_IOT_MQTT_CLIENT_ID         "test" ///< MQTT client ID should be unique for every device
+#define AWS_IOT_MY_THING_NAME 		   "test" ///< Thing Name of the Shadow this device is associated with
+#define AWS_IOT_MY_TOPIC               "test/%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
@@ -51,12 +51,12 @@
 #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
-#define AWS_IOT_MQTT_TX_BUF_LEN 512 ///< Any time a message is sent out through the MQTT layer. The message is copied into this buffer anytime a publish is done. This will also be used in the case of Thing Shadow
-#define AWS_IOT_MQTT_RX_BUF_LEN 512 ///< Any message that comes into the device should be less than this buffer size. If a received message is bigger than this buffer size the message will be dropped.
+#define AWS_IOT_MQTT_TX_BUF_LEN 2048 ///< Any time a message is sent out through the MQTT layer. The message is copied into this buffer anytime a publish is done. This will also be used in the case of Thing Shadow
+#define AWS_IOT_MQTT_RX_BUF_LEN 2048 ///< Any message that comes into the device should be less than this buffer size. If a received message is bigger than this buffer size the message will be dropped.
 #define AWS_IOT_MQTT_NUM_SUBSCRIBE_HANDLERS 5 ///< Maximum number of topic filters the MQTT client can handle at any given time. This should be increased appropriately when using Thing Shadow
 
 // Thing Shadow specific configs