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:
74:4c8bf308383e
Parent:
52:d1aaf4c7fd6a
Child:
76:888c43aceb1c
diff -r 09ddf42dd018 -r 4c8bf308383e EmulatedResourceFactory.cpp
--- a/EmulatedResourceFactory.cpp	Tue Mar 04 17:22:59 2014 +0000
+++ b/EmulatedResourceFactory.cpp	Tue Mar 04 18:36:20 2014 +0000
@@ -67,6 +67,7 @@
     // create all of the resources we expect for this endpoint
     this->createResource("/dev/addldata","AdditionalData");
     this->createResource("/dev/location",ENDPOINT_LOCATION);
+    this->createResource("/fw/devtype","Light");
     this->createResource("/dev/bat","0.0",(void *)&init_battery,NULL);
     this->createResource("/sen/I","0.0",(void *)&init_current,NULL);
     this->createResource("/nw/ipaddr",ethernet.getIPAddress());
@@ -77,7 +78,7 @@
     this->createResource("/gps/int","0");
     this->createResource("/gps/fix","1");
     this->createResource("/nw/pipaddr","N/A");
-    this->createResource("/nw/prssi","N/A");
+    this->createResource("/nw/prssi","-70");
     this->createResource("/sen/temp","0.0",(void *)&init_temperature,NULL);
     this->createResource("/sen/V","5.0",(void *)&init_voltage,NULL);
     this->createResource("/gps/loc",ENDPOINT_GPS_COORDS,(void *)&init_gps,NULL);