mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Revision:
37:4964678adb8b
Parent:
36:23a1b2dde4d9
Child:
51:15c81f725ba2
--- a/IOCEndpoint.cpp	Sat Apr 12 06:34:39 2014 +0000
+++ b/IOCEndpoint.cpp	Sun Apr 13 16:56:28 2014 +0000
@@ -62,10 +62,6 @@
                  else {
                      // IOC expects "Point(X,Y)" for LOCATION
                      sprintf(tmp, "\"%s\":\"Point(%s)\",",name,value); 
-                     
-                     // remove any commas
-                     int len = strlen(tmp);
-                     for(int i=0;i<len;++i) if(tmp[i] == ',') tmp[i] = ' ';
                  }   
                  strcat(data,tmp);