mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
102:4eb8eff3431f
Parent:
94:25ce0592620f
Child:
103:33724194f316
--- a/source/mbedEndpointNetwork.cpp	Thu Apr 20 20:53:41 2017 +0000
+++ b/source/mbedEndpointNetwork.cpp	Thu Apr 20 21:42:47 2017 +0000
@@ -53,6 +53,9 @@
 // Logger instance
 extern Logger logger;
 
+// EasyConnect reference
+extern "C" NetworkInterface *easy_connect(bool log_messages);
+
 // endpoint instance 
 static void *_endpoint_instance = NULL;
 
@@ -156,7 +159,7 @@
 void net_plumb_network(void *p) 
 {
     Connector::Endpoint *ep = NULL;
-    Connector::Options *options = NULL;
+    //Connector::Options *options = NULL;
     
     // save 
     _endpoint_instance = p;
@@ -164,7 +167,7 @@
     // connected
     if (p != NULL) {
 		ep = (Connector::Endpoint *)p;
-		options = ep->getOptions();
+		//options = ep->getOptions();
 	}
 
     // connect (use easy-connect now...)