Demo application for using the AT&T IoT Starter Kit Powered by AWS.

Dependencies:   SDFileSystem

Fork of ATT_AWS_IoT_demo by Anthony Phillips

IoT Starter Kit Powered by AWS Demo

This program demonstrates the AT&T IoT Starter Kit sending data directly into AWS IoT. It's explained and used in the Getting Started with the IoT Starter Kit Powered by AWS on starterkit.att.com.

What's required

  • AT&T IoT LTE Add-on (also known as the Cellular Shield)
  • NXP K64F - for programming
  • microSD card - used to store your AWS security credentials
  • AWS account
  • Python, locally installed

If you don't already have an IoT Starter Kit, you can purchase a kit here. The IoT Starter Kit Powered by AWS includes the LTE cellular shield, K64F, and a microSD card.

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