Demo application for using the AT&T IoT Starter Kit Powered by AWS.
Dependencies: SDFileSystem
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.
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.
Diff: main.cpp
- Revision:
- 24:224c07ec3bd0
- Parent:
- 23:b9ff83dc965f
diff -r b9ff83dc965f -r 224c07ec3bd0 main.cpp --- a/main.cpp Thu Dec 15 18:05:09 2016 +0000 +++ b/main.cpp Fri Dec 16 18:04:39 2016 +0000 @@ -298,7 +298,7 @@ char cPayload[100]; char cTopic[100]; const string colorStrings[] = {"Off", "Red", "Green", "", "Blue", "", "", "White"}; - float updateInterval = 5.0; // seconds + float updateInterval = 1.0; // seconds MQTTConnectParams connectParams = MQTTConnectParamsDefault; connectParams.KeepAliveInterval_sec = 10;