Embed client working with Cell network.

Dependencies:   C027Interface

Fork of U_Blox_DeviceConnector by Sarah Marsh

Revision:
43:90fccf21be20
Parent:
42:d9a3043214a6
Child:
48:bef96b79dec0
--- a/simpleclient.h	Sun Dec 11 08:15:09 2016 +0000
+++ b/simpleclient.h	Mon Dec 12 12:00:11 2016 +0000
@@ -38,6 +38,13 @@
 
 #define STRINGIFY(s) #s
 
+// Check if using mesh networking, define helper
+#if MBED_CONF_APP_NETWORK_INTERFACE == MESH_LOWPAN_ND
+    #define MESH
+#elif MBED_CONF_APP_NETWORK_INTERFACE == MESH_THREAD
+    #define MESH
+#endif
+
 #if defined (MESH) || (MBED_CONF_LWIP_IPV6_ENABLED==true)
     // Mesh is always IPV6 - also WiFi and ETH can be IPV6 if IPV6 is enabled
     M2MInterface::NetworkStack NETWORK_STACK = M2MInterface::LwIP_IPv6;