Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: EmulatedResourceFactory.cpp
- Revision:
- 35:27484c1273f9
- Parent:
- 31:a95cf856ce4e
- Child:
- 36:210f3956038c
--- a/EmulatedResourceFactory.cpp Fri Feb 28 22:18:25 2014 +0000
+++ b/EmulatedResourceFactory.cpp Fri Feb 28 23:45:13 2014 +0000
@@ -43,7 +43,7 @@
this->createResource("/dev/addldata","AdditionalData");
this->createResource("/dev/location",ENDPOINT_LOCATION);
this->createResource("/dev/bat","0.0");
- this->createResource("/sens/I","0.0");
+ this->createResource("/sen/I","0.0");
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");
@@ -53,8 +53,8 @@
this->createResource("/gps/fix","1");
this->createResource("/nw/pipaddr","N/A");
this->createResource("/nw/prssi","N/A");
- this->createResource("/sens/temp","0.0");
- this->createResource("/sens/V","5.0");
+ this->createResource("/sen/temp","0.0");
+ this->createResource("/sen/V","5.0");
this->createResource("/gps/loc",ENDPOINT_GPS_COORDS);
}