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:
- 88:b3a5038fc367
- Parent:
- 87:0f8e3fb8cbb6
- Child:
- 91:345a3a224e0f
--- a/EmulatedResourceFactory.cpp Sun Mar 09 16:54:30 2014 +0000
+++ b/EmulatedResourceFactory.cpp Sun Mar 09 16:56:09 2014 +0000
@@ -65,7 +65,7 @@
// create resources
void EmulatedResourceFactory::createResources(char *endpoint_name) {
// create all of the resources we expect for this endpoint
- this->createResource("/dev/addldata","AdditionalData");
+ 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);