Demo application for using the AT&T IoT Starter Kit Powered by AWS.
Fork of ATT_AWS_IoT_demo by
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.
- 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.
--- 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