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:
22:afb208d1d79e
Parent:
17:36a4ab911aaa
Child:
29:ac6390032cec
diff -r 54e3ad1c5c2e -r afb208d1d79e EmulatedLightResourceFactory.cpp
--- a/EmulatedLightResourceFactory.cpp	Tue Apr 01 22:15:44 2014 +0000
+++ b/EmulatedLightResourceFactory.cpp	Wed Apr 02 02:30:33 2014 +0000
@@ -101,7 +101,7 @@
     this->createResource("/nw/eripaddr","N/A");
     this->createResource(endpoint_name,"/lt/0/on",LIGHT_DEFAULT_STATE,(void *)&emulated_light_switch_cb);             // Action: light on/off
     //this->createResource(endpoint_name,"/lt/0/ctr",LIGHT_DEFAULT_STATE,(void *)&emulated_light_switch_cb);             // Action: light on/off
-    this->createResource("/dev/mdl","MQTT MBED Light");
+    this->createResource("/dev/mdl",MQTT_ENDPOINT_TYPE);
     this->createResource("/dev/mfg",PLATFORM_STRING);
     this->createResource("/gps/int","60");
     this->createResource("/gps/fix","1");