mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

Revision:
27:eb6818ad257a
Parent:
25:1fc958ac14d1
--- a/api/DataWrapper.cpp	Fri Mar 20 05:55:22 2015 +0000
+++ b/api/DataWrapper.cpp	Wed Mar 25 05:12:35 2015 +0000
@@ -74,9 +74,17 @@
         this->m_data_length = length;
      }
  }
- 
+
+ // reset 
  void DataWrapper::reset() {
      if (this->m_data != NULL && this->m_data_length_max > 0)
         memset(this->m_data,0,this->m_data_length_max);
      this->m_data_length = 0;
-}
\ No newline at end of file
+ }
+ 
+ // set the app key
+ void DataWrapper::setAppKey(uint8_t *appkey,int appkey_length) {
+     // do nothing in the base class
+     ;
+ }
+