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.
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Revision 49:8ac08e5deefb, committed 2015-04-14
- Comitter:
- ansond
- Date:
- Tue Apr 14 00:06:46 2015 +0000
- Parent:
- 48:4b9ee3e32f93
- Child:
- 50:1a9e2184945e
- Commit message:
- changed the default GET observation control behavior (its now true)
Changed in this revision
| api/Utils.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/api/Utils.cpp Mon Apr 13 23:41:34 2015 +0000
+++ b/api/Utils.cpp Tue Apr 14 00:06:46 2015 +0000
@@ -87,7 +87,7 @@
config.setImmedateObservationEnabled(false); // default: false (per CoAP spec)
// Establish default CoAP GET-based observation control behavior
- config.setEnableGETObservationControl(false); // default: false until draft is finalized
+ config.setEnableGETObservationControl(true); // default: true (CoAP spec)
// main.cpp can override or change any of the above defaults...
logger.log("utils_configure_endpoint: gathering configuration overrides...");
