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:
64:f6e3ecaa8c3a
Parent:
63:fc30c31a4d75
Child:
78:7fdf3322de58
--- a/source/mbedEndpointNetwork.cpp	Mon Aug 22 16:10:59 2016 +0000
+++ b/source/mbedEndpointNetwork.cpp	Mon Aug 22 16:55:24 2016 +0000
@@ -31,19 +31,19 @@
 
 // Network Selection
 #if MBED_CONF_APP_NETWORK_INTERFACE == WIFI
-	#define NETWORK_TYPE			"WiFi"
+	#define NETWORK_TYPE			(char *)"WiFi"
 	#include "ESP8266Interface.h"
 	ESP8266Interface network(MBED_CONF_APP_WIFI_TX,MBED_CONF_APP_WIFI_RX);
 #elif MBED_CONF_APP_NETWORK_INTERFACE == ETHERNET
-	#define NETWORK_TYPE			"Ethernet"
+	#define NETWORK_TYPE			(char *)"Ethernet"
 	#include "EthernetInterface.h"
 	EthernetInterface network;
 #elif MBED_CONF_APP_NETWORK_INTERFACE == MESH_LOWPAN_ND
-	#define NETWORK_TYPE			"6LowPAN"
+	#define NETWORK_TYPE			(char *)"6LowPAN"
 	#include "NanostackInterface.h"
 	LoWPANNDInterface network;
 #elif MBED_CONF_APP_NETWORK_INTERFACE == MESH_THREAD
-	#define NETWORK_TYPE			"Thread"
+	#define NETWORK_TYPE			(char *)"Thread"
 	#include "NanostackInterface.h"
 	ThreadInterface network;
 #endif