MBED_DEMOS / Mbed 2 deprecated mbed_mqtt_endpoint_ublox_ethernet

Dependencies:   C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
30:5c670ec5d203
Parent:
23:793b2898522e
Child:
36:210f3956038c
diff -r 19b50df4245c -r 5c670ec5d203 MQTTTransport.cpp
--- a/MQTTTransport.cpp	Fri Feb 28 05:20:00 2014 +0000
+++ b/MQTTTransport.cpp	Fri Feb 28 18:08:11 2014 +0000
@@ -73,7 +73,7 @@
      if (data.size() > 0) {
           char *ep  = (char *)data[data.size()-1].c_str();
           if (ep != NULL) {
-               if (strcmp(ep,"control") != 0) {
+               if (strcmp(ep,MQTT_IOC_ALL_ENDPOINT) != 0) {
                    // just insert the name and let the parser determine if its for us or not...
                    strncpy(this->m_endpoint_name,ep,strlen(ep));
                }