Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
135:7f3f963cd159
Parent:
126:3e63174bcbc6
Child:
192:54b758a8eaaa
diff -r 58e7537a8c5f -r 7f3f963cd159 MBEDrssi.cpp
--- a/MBEDrssi.cpp	Fri Mar 28 16:24:12 2014 +0000
+++ b/MBEDrssi.cpp	Fri Mar 28 17:49:10 2014 +0000
@@ -32,5 +32,5 @@
 
  // update our value
  void MBEDrssi::update() {
-     if (this->m_resource != NULL && this->m_resource->getValuePointer() != NULL) strcpy(this->m_resource->getValuePointer(),"-76"); // fixed RSSI for now...
+     if (this->resource() != NULL && this->resource()->getValuePointer() != NULL) strcpy(this->resource()->getValuePointer(),"-76"); // fixed RSSI for now...
  }