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: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: MBEDEndpoint.cpp
- Revision:
- 85:9fdd9198001c
- Parent:
- 79:67accc95965a
- Child:
- 86:2f9b9e0c7639
diff -r a50f8d0ec197 -r 9fdd9198001c MBEDEndpoint.cpp
--- a/MBEDEndpoint.cpp Thu Mar 06 06:00:31 2014 +0000
+++ b/MBEDEndpoint.cpp Thu Mar 06 17:09:38 2014 +0000
@@ -312,17 +312,17 @@
}
// Special Case: STARTDATETIME
- strcat(data,"\"STARTDATETIME\":\"2014-02-27T22:03:06.973Z\",");
+ strcat(data,ENDPOINT_STARTTIME);
// Special Case: ENDDATETIME
- strcat(data,"\"ENDDATETIME\":\"2015-02-27T03:35:55.940Z\",");
+ strcat(data,ENDPOINT_STOPTIME);
// Special Case: NAME
sprintf(tmp,"\"NAME\":\"%s\",",light->getName());
strcat(data,tmp);
// Special Case: TIMEZONEOFFSET
- strcat(data,"\"TIMEZONEOFFSET\":\"+2:00\"");
+ strcat(data,ENDPOINT_TIMEZONE);
// close
strcat(data,"}");