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:
91:345a3a224e0f
Parent:
88:b3a5038fc367
Child:
102:36b8e2f5f416
--- a/EmulatedResourceFactory.cpp	Sun Mar 09 18:52:36 2014 +0000
+++ b/EmulatedResourceFactory.cpp	Mon Mar 10 02:24:51 2014 +0000
@@ -68,9 +68,9 @@
     this->createResource("/dev/addldata","id:0");
     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("/dev/I","0.0",(void *)&init_current,NULL);
+    this->createResource("/dev/bat","5.0V",(void *)&init_battery,NULL);
+    this->createResource("/sen/I","0.1A",(void *)&init_current,NULL);
+    this->createResource("/dev/I","0.1A",(void *)&init_current,NULL);
     this->createResource("/nw/ipaddr",ethernet.getIPAddress());
     this->createResource(endpoint_name,"/lt/0/dim","25",(void *)&emulated_light_dimming_cb);          // Action: dim/brighten light
     this->createResource("/nw/eripaddr","N/A");
@@ -80,12 +80,12 @@
     this->createResource("/gps/int","60");
     this->createResource("/gps/fix","1");
     this->createResource("/nw/pipaddr","N/A");
-    this->createResource("/dev/W","120W");
+    this->createResource("/dev/W","0.1W");
     this->createResource("/nw/prssi","-63");
-    this->createResource("/sen/temp","0.0",(void *)&init_temperature,NULL);
-    this->createResource("/dev/t","0.0",(void *)&init_temperature,NULL);
-    this->createResource("/sen/V","5.0",(void *)&init_voltage,NULL);
-    this->createResource("/dev/V","5.0",(void *)&init_voltage,NULL);
+    this->createResource("/sen/temp","10.0C",(void *)&init_temperature,NULL);
+    this->createResource("/dev/t","10.0C",(void *)&init_temperature,NULL);
+    this->createResource("/sen/V","5.0V",(void *)&init_voltage,NULL);
+    this->createResource("/dev/V","5.0V",(void *)&init_voltage,NULL);
     this->createResource("/gps/loc",ENDPOINT_GPS_COORDS,(void *)&init_gps,NULL);
     
     //this->createResource("/res/int","1");