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.
Diff: mbed-connector-interface/Resource.h
- Revision:
- 18:996d04762f32
- Parent:
- 17:defb680f8fce
--- a/mbed-connector-interface/Resource.h Fri Jun 10 19:22:26 2016 +0000
+++ b/mbed-connector-interface/Resource.h Fri Jun 10 19:24:08 2016 +0000
@@ -140,6 +140,13 @@
void setOptions(const void *options) {
this->m_options = (void *)options;
}
+
+ /**
+ set the endpoint
+ */
+ void setEndpoint(const void *endpoint) {
+ this->m_endpoint = (void *)endpoint;
+ }
// this resource implements its own observation handler
bool implementsObservation() { return this->m_implements_observation; }