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:
80:8b3bff9cc598
Parent:
79:22b57129590b
Child:
95:6a5c130be6c1
Child:
122:4072e03884e4
--- a/source/OptionsBuilder.cpp	Fri Nov 04 22:38:41 2016 +0000
+++ b/source/OptionsBuilder.cpp	Fri Nov 04 22:40:30 2016 +0000
@@ -28,6 +28,10 @@
 #include "mbed-connector-interface/TickerResourceObserver.h"
 #include "mbed-connector-interface/MinarResourceObserver.h"
 
+#ifdef ENABLE_MBED_CLOUD_SUPPORT
+extern "C" char gIdcDevSecurityAccountId[33];
+#endif
+
 // Connector namespace
 namespace Connector {
 
@@ -38,7 +42,6 @@
     this->m_domain           		= DEFAULT_DOMAIN;
     this->m_endpoint_type    	 	= DEFAULT_ENDPOINT_TYPE;
 #ifdef ENABLE_MBED_CLOUD_SUPPORT
-	extern "C" char gIdcDevSecurityAccountId[33];
 	this->m_node_name        	 	= (char *)gIdcDevSecurityAccountId;
 #else
     this->m_node_name        	 	= NODE_NAME;