Doug Anson / mbedConnectorInterfaceV3
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; }