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:
- 42:46cc1641800b
- Parent:
- 41:36c59c3cd6f2
- Child:
- 47:081874a5d049
--- a/EmulatedResourceFactory.cpp Sat Mar 01 07:43:17 2014 +0000
+++ b/EmulatedResourceFactory.cpp Sat Mar 01 08:21:20 2014 +0000
@@ -84,7 +84,7 @@
}
void EmulatedResourceFactory::createResource(char *name,char *value) { ResourceFactory::createResource(name,value); }
- void EmulatedResourceFactory::createResource(char *endpoint_name,char *name,char *value,void *cb) { ResourceFactory::createResource(endpoint_name,name,value,cb); }
+ void EmulatedResourceFactory::createResource(char *ep_name,char *name,char *value,void *cb) { ResourceFactory::createResource(ep_name,name,value,cb); }
void EmulatedResourceFactory::createResource(char *name,char *value,void *io,void *notused) {
MBEDEndpoint *endpoint = (MBEDEndpoint *)this->m_endpoint;
char *ep_name = NULL; if (endpoint != NULL) ep_name = endpoint->getEndpointName();
@@ -97,7 +97,7 @@
}
// set a resource value (AND trigger the Emulated actions if registered)
- bool EmulatedResourceFactory::setResourceValue3(char *name, char *value) {
+ bool EmulatedResourceFactory::setResourceValue(char *name, char *value) {
// set the resource value
bool success = ResourceFactory::setResourceValue(name,value);
if (success) {