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:
57:b017388f1aa3
Parent:
56:3f233795dddf
Child:
59:dd395412bd19
--- a/mbed-connector-interface/mbedConnectorInterface.h	Tue Aug 09 18:47:59 2016 +0000
+++ b/mbed-connector-interface/mbedConnectorInterface.h	Tue Aug 09 19:06:23 2016 +0000
@@ -45,9 +45,9 @@
  #define NODE_NAME                			"mbed-endpoint"
  
  // Connection URL to mbed Cloud
- #if MBED_CONF_APP_NETWORK_INTERFACE == LOWPAN_ND || MBED_CONF_APP_NETWORK_INTERFACE == THREAD
+ #if MBED_CONF_APP_NETWORK_INTERFACE == MESH_LOWPAN_ND || MBED_CONF_APP_NETWORK_INTERFACE == MESH_THREAD
  	// IPv6 URL Configuration
- 	#define CONNECTOR_URL 					"coap://2607:f0d0:2601:52::20:5684" 
+ 	#define CONNECTOR_URL 					"coaps://[2607:f0d0:2601:52::20]:5684" 
  #else
  	// IPv4 URL Configuration
  	#define CONNECTOR_URL					"coap://api.connector.mbed.com:5684"