![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
Diff: AWS_openssl/aws_iot_src/protocol/mqtt/aws_iot_embedded_client_wrapper/network_interface.h
- 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