mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
126:f37e34daa100
Parent:
125:4bf229bf14a3
--- a/source/MinarResourceObserver.cpp	Thu Jul 13 19:21:28 2017 +0000
+++ b/source/MinarResourceObserver.cpp	Thu Jul 13 20:43:26 2017 +0000
@@ -39,7 +39,7 @@
  }
 
  // observation task method
- void MinarResourceObserver::perform_observation() {
+ void MinarResourceObserver::observation_task() {
      if (this->isObserving() == true && this->getResource() != NULL) {
          DynamicResource *res = this->getResource();
          if (res != NULL && res->isRegistered() == true) {
@@ -51,7 +51,7 @@
  // begin observing...
  void MinarResourceObserver::beginObservation() {
      this->setObserving(true);
-     minar::Scheduler::postCallback(this,&MinarResourceObserver::perform_observation).period(minar::milliseconds(this->getSleepTime()));
+     minar::Scheduler::postCallback(this,&MinarResourceObserver::observation_task).period(minar::milliseconds(this->getSleepTime()));
  }
 
  // stop observing...