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:
95:6a5c130be6c1
Parent:
80:8b3bff9cc598
Child:
105:aeaaee8fbb1d
--- a/source/OptionsBuilder.cpp	Fri Mar 31 06:21:29 2017 +0000
+++ b/source/OptionsBuilder.cpp	Thu Apr 20 19:17:47 2017 +0000
@@ -29,7 +29,7 @@
 #include "mbed-connector-interface/MinarResourceObserver.h"
 
 #ifdef ENABLE_MBED_CLOUD_SUPPORT
-extern "C" char gIdcDevSecurityAccountId[33];
+extern "C" char *MBED_CLOUD_DEV_ACCOUNT_ID;
 #endif
 
 // Connector namespace
@@ -42,7 +42,7 @@
     this->m_domain           		= DEFAULT_DOMAIN;
     this->m_endpoint_type    	 	= DEFAULT_ENDPOINT_TYPE;
 #ifdef ENABLE_MBED_CLOUD_SUPPORT
-	this->m_node_name        	 	= (char *)gIdcDevSecurityAccountId;
+	this->m_node_name        	 	= (char *)MBED_CLOUD_DEV_ACCOUNT_ID;
 #else
     this->m_node_name        	 	= NODE_NAME;
 #endif