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:
- 81:84b580179eb5
- Parent:
- 79:67accc95965a
- Child:
- 87:0f8e3fb8cbb6
diff -r 1b1945d6ba86 -r 84b580179eb5 EmulatedResourceFactory.cpp
--- a/EmulatedResourceFactory.cpp Tue Mar 04 21:46:10 2014 +0000
+++ b/EmulatedResourceFactory.cpp Wed Mar 05 17:36:19 2014 +0000
@@ -88,19 +88,20 @@
this->createResource("/dev/V","5.0",(void *)&init_voltage,NULL);
this->createResource("/gps/loc",ENDPOINT_GPS_COORDS,(void *)&init_gps,NULL);
- this->createResource("/res/int","1");
- this->createResource("/res/systime","1010101");
- this->createResource("/fw/curr/NanoLightingApplication/ver","1.0");
- this->createResource("/fw/new/NanoLightingApplication/ver","1.0");
- this->createResource("/fw/upload","false");
- this->createResource("/fw/download","none");
+ //this->createResource("/res/int","1");
+ //this->createResource("/res/systime","1010101");
+ //this->createResource("/fw/curr/NanoLightingApplication/ver","1.0");
+ //this->createResource("/fw/new/NanoLightingApplication/ver","1.0");
+ //this->createResource("/fw/upload","false");
+ //this->createResource("/fw/download","none");
this->createResource("/ns/nspaddr","(NA)");
- this->createResource("/lt/0/ontime","0");
- this->createResource("/lt/0/pfact","1.0");
- this->createResource("/lt/0/sched","none");
- this->createResource("/lt/0/sched_elem","0");
+ //this->createResource("/lt/0/ontime","0");
+ //this->createResource("/lt/0/pfact","1.0");
+ //this->createResource("/lt/0/sched","none");
+ //this->createResource("/lt/0/sched_elem","0");
this->createResource("/lt/0/totKwh","6.23");
- this->createResource("/nw/utlz","0.01%");
+ //this->createResource("/nw/utlz","0.01%");
+
#ifdef MAC_ADDRESS
extern char fmt_mac[RESOURCE_VALUE_LEN+1];
this->createResource("/nw/macaddr",fmt_mac);