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:
16:02008a2a2569
Parent:
15:6f2798e45099
Child:
18:6370da1de572
--- a/AWS_openssl/aws_iot_src/protocol/mqtt/aws_iot_embedded_client_wrapper/network_interface.h	Thu Dec 01 18:05:38 2016 +0000
+++ b/AWS_openssl/aws_iot_src/protocol/mqtt/aws_iot_embedded_client_wrapper/network_interface.h	Fri Dec 02 22:39:56 2016 +0000
@@ -26,20 +26,29 @@
 
 //=====================================================================================================================
 //
-// NOTE: Internet Connection
-// The Avnet M14A2A Cellular Shield uses the AT&T LTE network by default.  If you want to debug with the
-// FRDM-K64F wired Ethernet comment this define out.
+// NOTE: This defines our Network Connection.  Only comment in ONE of these defines.  This setup allows us to to build
+// in multiple network targets in the future that operate off of mbed-os.
 //
+// The Avnet M14A2A Cellular Shield (uses the AT&T LTE network)
 #define USING_AVNET_SHIELD
+//
+// The FRDM-K64F wired Ethernet lwip
+//#define USING_FRDM_K64F_LWIP
 //=====================================================================================================================
 
 #ifdef USING_AVNET_SHIELD
-// TODO including this here breaks the compile because of "Timer"
-//#include "WNCTCPSocketConnection.h"
+// TODO including this here breaks the compiler because of "Timer". Added to network.cpp instead.
+/*
+#include "WNCTCPSocketConnection.h"
+
 // Exposes the Avnet socket
-//extern WNCTCPSocketConnection* _tcpsocket;
-#else
+extern WNCTCPSocketConnection* _tcpsocket;
+*/
+#endif
+
+#ifdef USING_FRDM_K64F_LWIP
 #include "TCPSocket.h"
+
 // Exposes the FRDM socket
 extern TCPSocket* _tcpsocket;
 #endif