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:
71:5069a202e892
Parent:
54:dfee8691c83a
Child:
72:6b1d37b5420a
--- a/source/OptionsBuilder.cpp	Mon Aug 22 19:51:07 2016 +0000
+++ b/source/OptionsBuilder.cpp	Fri Nov 04 16:29:17 2016 +0000
@@ -37,7 +37,12 @@
     this->m_endpoint 				= NULL;
     this->m_domain           		= DEFAULT_DOMAIN;
     this->m_endpoint_type    	 	= DEFAULT_ENDPOINT_TYPE;
+#ifdef ENABLE_MBED_CLOUD_SUPPORT
+	extern char gIdcDevSecurityAccountId[33];
+	this->m_node_name        	 	= (char *)gIdcDevSecurityAccountId;
+#endif
     this->m_node_name        	 	= NODE_NAME;
+#endif
     this->m_lifetime  				= REG_LIFETIME_SEC;
     this->m_connector_url  		 	= string(CONNECTOR_URL);
     this->m_server_cert				= NULL;