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:
- 122:91a0d3114287
- Parent:
- 120:adeab6eb7848
- Child:
- 148:b09187a0fa77
diff -r 73206467795a -r 91a0d3114287 EmulatedResourceFactory.cpp
--- a/EmulatedResourceFactory.cpp Sat Mar 15 05:38:56 2014 +0000
+++ b/EmulatedResourceFactory.cpp Sat Mar 15 05:58:02 2014 +0000
@@ -75,7 +75,7 @@
this->createResource(endpoint_name,"/lt/0/dim","25",(void *)&emulated_light_dimming_cb); // Action: dim/brighten light
this->createResource("/nw/eripaddr","N/A");
this->createResource(endpoint_name,"/lt/0/on","1",(void *)&emulated_light_switch_cb); // Action: light on/off
- this->createResource(endpoint_name,"/lt/0/ctr","1",(void *)&emulated_light_switch_cb); // Action: light on/off
+ //this->createResource(endpoint_name,"/lt/0/ctr","1",(void *)&emulated_light_switch_cb); // Action: light on/off
this->createResource("/dev/mdl","MQTT MBED Light");
this->createResource("/dev/mfg","NXP MBED");
this->createResource("/gps/int","60");